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

fix: modify createDateDefault to a time zone-independent function in TimePicker #2727

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

YannLynn
Copy link
Collaborator

@YannLynn YannLynn commented Feb 24, 2025

中文模板 / Chinese Template

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Code style update
  • Refactor
  • Test Case
  • TypeScript definition update
  • Document improve
  • CI/CD improve
  • Branch sync
  • Other, please describe:

PR description

Fixes #2726

Changelog

🇨🇳 Chinese

  • Fix: 修复 TimePicker 在不填默认值的情况下,不同时区用户打开模版选中的默认值不同问题

🇺🇸 English

  • Fix: fix when TimePicker does not fill in the default value, users in different time zones open the template and select different default values

Checklist

  • Test or no need
  • Document or no need
  • Changelog or no need

Other

  • Skip Changelog

Additional information

@YannLynn YannLynn requested a review from pointhalo February 24, 2025 07:07
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ce27b46:

Sandbox Source
pr-story Configuration

Copy link

cypress bot commented Feb 24, 2025

semi-design    Run #3090

Run Properties:  status check failed Failed #3090  •  git commit 77bf5dbfcd ℹ️: Merge ce27b46d77159ac63e5c2a5e924cb8f1c3e010e6 into c94cc1a1b91eec3af05d975946e8...
Project semi-design
Branch Review fix-2726
Run status status check failed Failed #3090
Run duration 08m 31s
Commit git commit 77bf5dbfcd ℹ️: Merge ce27b46d77159ac63e5c2a5e924cb8f1c3e010e6 into c94cc1a1b91eec3af05d975946e8...
Committer YannLynn
View all properties for this run ↗︎

Test results
Tests that failed  Failures 2
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 11
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 279
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎

Tests for review

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.

[TimePicker] In different time zones, the default value selected by the panel will be different
1 participant