Skip to content

Commit

Permalink
Merge branch 'master' into bilalqamar95/node20-upgrade-3
Browse files Browse the repository at this point in the history
  • Loading branch information
BilalQamar95 authored Oct 31, 2024
2 parents 8f60385 + e5bfc37 commit 5488c67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout
Expand Down
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 5488c67

Please sign in to comment.