Time and Date are saved incorrectly in Deck

Hey There!

I have this bothersome glitch where if I set a due date/time for a Deck card, it’s saved with a 7 hour offset into the future. Coincidentally(?) I’m on PST (UTC-7), I’m if that has anything to do with that, but I thought it’s worth mentioning.

How I replicate it

  1. Create a card/choose an existing card, set a due date (I.E. Sept 12 @ 12am)
  2. Save it. Reload the page.
  3. Click the same card and observe that its due date/time is now Sept12 @ 7pm.

I’m running Nextcloud 19.0.2 in a Docker container. I’ve had this issue for 2 release versions now. The host machine is set up for ntp and syncing the time properly. I’ve bound my host machine’s locale to the docker instance just to be sure:

     - type: bind
       source: /media/user/SSD/nextcloudpi/volume
       target: /data
     - /etc/localtime:/etc/localtime:ro

I can’t find anyone else on the net with this problem and I’m starting to worry I’m a lost cause and may need to try a more standard deployment approach.

Let me know if I can offer any more information. I also have a github issue here