Skip to content

Commit

Permalink
chore: update default time from 12:00 to 00:00 (#990)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza-56 authored Oct 13, 2024
1 parent 1a3f1de commit e5bfc37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/DateTimeField/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)) || '00:00',
};
this.concatDateTime = this.concatDateTime.bind(this);
this.updateDate = this.updateDate.bind(this);
Expand Down Expand Up @@ -121,7 +121,7 @@ class DateTimeField extends React.Component {
<Form.Control
name={`${name}Time`}
type="time"
value={time || '12:00'}
value={time || '00:00'}
placeholder="HH:mm"
required={required}
disabled={disabled}
Expand Down

0 comments on commit e5bfc37

Please sign in to comment.