|
|
|
|
|
by kj800x
806 days ago
|
|
> current_timestamp will not work properly when wanting to set the default date to the current time. This is because current_timestamp does not include timezone information and therefore when parsing the date string from the database, JavaScript will assume it is in local time when it is in fact in UTC time. This might be the answer to an unusual date bug I noticed years ago but haven't prioritized fixing in a personal project. TIL! |
|