hugsql

jasonbell 2018-11-07T21:14:30.009100Z

Good evening. I have a Luminus app that’s coercing times of dates incorrectly when they are pulled from MySQL.

| daa2f7fe-fafb-4525-8bac-c991c37b799b | 2018-11-30 13:00:00    |
from the db becomes
#object[org.joda.time.DateTime 0x422e20d2 2018-11-30T07:00:00.000Z]
, is there any verbose logging I can turn on? I see that [clj-time.jdbc] is used when the database connection is established with Luminus but I’m at a loss on how to fix this one.

curtis.summers 2018-11-07T21:41:45.010900Z

Is 13:00:00 from the database interpreted in your local time zone equal to 07:00 UTC (Zulu)?

jasonbell 2018-11-07T21:46:14.011300Z

No, local timezone is GMT. Everything server time and JVM time is correct.

jasonbell 2018-11-07T21:46:54.011700Z

There’s something going on somewhere, I’ll get to the bottom of it. 🙂

jasonbell 2018-11-07T21:47:03.012Z

Appreciate the headsup @curtis.summers