Good catch, I assumed that the php sqlite CURRENT_TIMESTAMP, php DateTime('now') and JS Date.Now() would all use the same default.
It seems CURRENT_TIMESTAMP is always UTC/GMT. I changed the other php call and the JS to also work in UTC/GMT.
I tested by changing my time zone and it worked I think.
It seems CURRENT_TIMESTAMP is always UTC/GMT. I changed the other php call and the JS to also work in UTC/GMT.
I tested by changing my time zone and it worked I think.