Cannot Reproduce
Details
Assignee
Michael OffnerMichael OffnerReporter
Fred BFred BPriority
CriticalLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Fred B
Fred BPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Created 24 January 2018 at 12:19
Updated 21 June 2021 at 21:34
Resolved 20 February 2019 at 07:22
Using MySQL 6.0.5, when I insert timestamps into my MariaDB database table, dates which fall within daylight savings are being offset by an hour.
This does not happen using MySQL 5.1.38.
The datasource is defined to use the same timezone as my Lucee instance (Europe/London). It makes no difference if the Legacy Datetime Code option is enabled or not. It happens whether the database column is a datetime or a timestamp.
Using a string for the timestamp or using cfqueryparam solves the problem.
expected result:
actual result: