Skip to content

Commit

Permalink
back to the 'new Date()' encapsulation hack due to date format discre…
Browse files Browse the repository at this point in the history
…pancy across site
  • Loading branch information
michaelchadwick committed Sep 13, 2024
1 parent fe554c4 commit 5cbb455
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ export default class TimedReleaseSchedule extends Component {
if (!this.args.startDate) {
return false;
}
return DateTime.fromISO(this.args.startDate) > DateTime.now();
return DateTime.fromJSDate(new Date(this.args.startDate)) > DateTime.now();
}
}

0 comments on commit 5cbb455

Please sign in to comment.