-
Notifications
You must be signed in to change notification settings - Fork 50
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
@@ -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', |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this 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.
43d47ed
to
56997aa
Compare
PROD-4200