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: update default time from 12:00 to 00:00 #990

Merged
merged 1 commit into from
Oct 13, 2024
Merged

Conversation

hamza-56
Copy link
Contributor

Copy link

codecov bot commented Oct 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.77%. Comparing base (1a3f1de) to head (56997aa).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #990   +/-   ##
=======================================
  Coverage   67.77%   67.77%           
=======================================
  Files         128      128           
  Lines        3230     3230           
  Branches      936      937    +1     
=======================================
  Hits         2189     2189           
+ Misses        996      993    -3     
- Partials       45       48    +3     

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

@@ -21,7 +21,7 @@ class DateTimeField extends React.Component {
: getDateWithDashes(this.props.input.value),
time: (this.props.utcTimeZone
? getTimeStringUTC(this.props.input.value)
: getTimeString(this.props.input.value)) || '12:00',
: getTimeString(this.props.input.value)) || '12:00 AM',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this AM work out of the box? Should it not be 00:00?

Copy link
Contributor Author

@hamza-56 hamza-56 Oct 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2024-10-11 at 3 12 19 PM

Yes, you're right.
Updated

Copy link
Contributor

@DawoudSheraz DawoudSheraz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit type should be chore, not fix.

@hamza-56 hamza-56 changed the title fix: update default time from 12:00 to 12:00 am fix: update default time from 12:00 to 00:00 Oct 11, 2024
@hamza-56 hamza-56 merged commit e5bfc37 into master Oct 13, 2024
7 checks passed
@hamza-56 hamza-56 deleted the hamza/PROD-4200 branch October 13, 2024 22:57
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