Skip to content

Conversation

lunalzm
Copy link
Contributor

@lunalzm lunalzm commented Sep 26, 2025

Description

Currently, time fields in the result set may appear as plain strings (e.g., "2025-09-24 14:50:00") without timezone information.
As a result, visualizations always display them in UTC, and the times do not adjust according to the system timezone settings (e.g., UTC+8).

Screenshot

Before

image image

After

image

Changelog

  • feat: Date String Normalization

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

opensearch-changeset-bot bot added a commit to lunalzm/OpenSearch-Dashboards that referenced this pull request Sep 26, 2025
Copy link

codecov bot commented Sep 26, 2025

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 60.20%. Comparing base (b5300dc) to head (f80b41b).

Files with missing lines Patch % Lines
...on/utils/state_management/actions/query_actions.ts 50.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10574      +/-   ##
==========================================
- Coverage   60.20%   60.20%   -0.01%     
==========================================
  Files        4302     4302              
  Lines      115109   115111       +2     
  Branches    18695    18696       +1     
==========================================
- Hits        69299    69298       -1     
- Misses      41057    41058       +1     
- Partials     4753     4755       +2     
Flag Coverage Δ
Linux_1 26.66% <ø> (ø)
Linux_2 38.82% <ø> (ø)
Linux_3 37.82% <ø> (-0.01%) ⬇️
Linux_4 32.62% <50.00%> (+<0.01%) ⬆️
Windows_1 26.67% <ø> (ø)
Windows_2 38.80% <ø> (ø)
Windows_3 37.82% <ø> (ø)
Windows_4 32.62% <50.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lunalzm lunalzm force-pushed the normalize-date-strings branch from 97041b1 to e93d7fa Compare September 26, 2025 03:13
@ruanyl ruanyl changed the title Date String Normalization [Explore Vis] Date String Normalization Sep 26, 2025
ruanyl
ruanyl previously approved these changes Sep 28, 2025
Signed-off-by: Luna Liu <lunalzm@amazon.com>
ruanyl
ruanyl previously approved these changes Sep 29, 2025
Signed-off-by: Luna Liu <lunalzm@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants