Skip to content

Commit

Permalink
do not provide date in UTC for careportal initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Cunningham committed Jul 30, 2023
1 parent e99a166 commit 2c88578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/careportal.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function init (client, $) {
function setDateAndTime (time) {
time = time || client.ctx.moment();
eventTime.val(time.hours() + ":" + time.minutes());
eventDate.val(time.toISOString().split('T')[0]);
eventDate.val(time.toISOString(true).split('T')[0]);
}

function mergeDateAndTime () {
Expand Down

0 comments on commit 2c88578

Please sign in to comment.