39ee12d1ac
Commit 95e70cd0ea
'time: Use 1970 epoch' changed epoch for the time
module, but not for other users. This patch does the same for the only
other core timeutils user: extmod/vfs_fat.c:fat_vfs_stat().
Other timeutils users: cc3200, esp8266 and stm32, are not changed.
Ports that don't use long ints, will still get wrong time values from
os.stat().
18 lines
349 B
Plaintext
18 lines
349 B
Plaintext
True
|
|
True
|
|
label: LABEL TEST
|
|
statvfs: (512, 512, 16, 16, 16, 0, 0, 0, 0, 255)
|
|
getcwd: /
|
|
True
|
|
[('foo_file.txt', 32768, 0, 6)]
|
|
stat root: (16384, 0, 0, 0, 0, 0, 0, 946684800, 946684800, 946684800)
|
|
stat file: (32768, 0, 0, 0, 0, 0, 6)
|
|
True
|
|
True
|
|
getcwd: /foo_dir
|
|
[]
|
|
True
|
|
getcwd: /
|
|
[(b'foo_file.txt', 32768, 0, 6), (b'foo_dir', 16384, 0, 0)]
|
|
ENOENT: True
|