pub fn get_file_modtime(path: impl AsRef<Path>) -> Result<String>Expand description
get_file_modtime: the modification time of the file in ISO format, in the
local time zone, e.g. 2024-01-31T12:34:56.789012+08:00.
As Python does, the time is the float st_mtime rounded to microseconds
(half to even), and the offset of the local time zone is that of the system
(or of the TZ environment variable).