Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert the time to usertzdate #1151

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Convert the time to usertzdate #1151

merged 1 commit into from
Sep 13, 2024

Conversation

hanbyul-here
Copy link
Collaborator

Related Ticket: https://github.com/US-GHG-Center/ghgc-architecture/issues/235

Description of Changes

Because Javascript Date object outputs the local time of the computer, the output of the date was converted to earlier time than the value we got from the search result.
ex. search result value: "2023-12-01T00:00:00+00:00"
output date value (on my computer) ( new Date( "2023-12-01T00:00:00+00:00")) Thu Nov 30 2023 19:00:00 GMT-0500 (Eastern Standard Time)

Notes & Questions About Changes

Copy link

netlify bot commented Sep 12, 2024

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit d107ec9
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/66e3443033333b000898438b
😎 Deploy Preview https://deploy-preview-1151--veda-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@hanbyul-here hanbyul-here merged commit cecafa7 into main Sep 13, 2024
8 checks passed
@hanbyul-here hanbyul-here deleted the 235-time-step branch September 13, 2024 13:46
sandrahoang686 added a commit that referenced this pull request Sep 25, 2024
## 🎉 Features
- [E&A] Implement colormap configurability
#1117
- [E&A] Feature flag colormap configurability
#1147
- Add font md size as 20px for new Design System
#1125
## 🚀 Improvements
- [E&A] Return default value of colormap along with other settings
#1128
- Create new raster paint layer module and factor out
BaseTimeseriesProps #1105
- Consolidate a place where to check linkProps
#1121
#1160
- Expose Data Catalog and update child components to pass in routing/nav
for library build #1096
#1159
- Set up eslint rule for no trailing spaces
#1146
- Replace cmr-stac with titiler-cmr
#1131
## 🐛 Fixes
- Update external link in top navigation target
#1145
- Update PageHeader/Nav to not throw
#1149
- [E&A] Fix to convert the time to usertzdate
#1151
- Use sourceparams as it is when it is there
#1148
- Fix compare label on block map
#1153
- Discard the previous sourceExclusive value to fix the case when the
datasets with different sourceExclusive can be selected together
#1161
- Show the name of the selected filter on story hub
#1161
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants