Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.2' into 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Mar 14, 2019
2 parents 4e2f755 + 82d5a39 commit 37cb561
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bundle/Resources/public/js/scripts/fieldType/ezdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@

if (sourceInput.value) {
defaultDate = new Date(sourceInput.value * 1000);

defaultDate.setTime(defaultDate.getTime() + defaultDate.getTimezoneOffset() * 60 * 1000);
}

btnClear.addEventListener('click', (event) => {
Expand Down

0 comments on commit 37cb561

Please sign in to comment.