Closed luc-github closed 7 months ago
The time zone is an optional parameter in web ui now tz=+/-HH:MM
The SD is fat32 which store only local time not UTC so current format is ok
(2023-10-10 11:08:47)
That said I will add support of 2023-10-10T11:08:47+08:00
and 2023-10-10T11:08:47.000+08:00
format in webUI /files and /sdfiles responses JSON, to make porting easier on coming FW
The upload will also have a last modification date as post parameter which could be used to update file timestamp on ESP that does not have time sync enabled
Additionnaly there is no DST support for the moment - because it need to access to a database that won't fit to flash.
One solution would be to detect time difference between browser time supplied by ESP800 and time set and if time is different by 1h propose to user to update time on esp board, it is one possible solution =>TBD
Any suggestion // other idea is welcome
done I think
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Linked to https://github.com/luc-github/ESP3D/issues/935 1 - when setting date by [ESP800] command, use +/-XX:XX additional info (optionnally ) to set the time zone also 2 - add optionnal parameter in post which would be the date/time in same format (2023-10-10T11:08:47+08:00) and the last modified date/time of the file using
file.lastModified;
API