Oliver Joos
290dc1d5ee
unix/modtime: Fix time() precision on unix ports with non-double floats.
...
With MICROPY_FLOAT_IMPL_FLOAT the results of utime.time(), gmtime() and
localtime() change only every 129 seconds. As one consequence
tests/extmod/vfs_lfs_mtime.py will fail on a unix port with LFS support.
With this patch these functions only return floats if
MICROPY_FLOAT_IMPL_DOUBLE is used. Otherwise they return integers.
2021-01-23 16:55:24 +11:00
..
2020-10-29 23:30:04 +11:00
2020-01-12 10:37:40 +11:00
2020-02-28 10:33:03 +11:00
2020-12-07 23:32:06 +11:00
2020-10-29 15:29:50 +11:00
2020-09-02 00:19:06 +10:00
2020-04-29 23:45:19 +10:00
2020-03-27 14:40:46 +11:00
2017-09-06 13:40:51 +10:00
2020-10-29 15:29:50 +11:00
2020-11-24 01:07:17 +11:00
2020-04-23 11:24:25 +10:00
2020-04-23 11:24:25 +10:00
2020-11-13 11:13:37 +11:00
2020-09-01 12:36:28 +10:00
2020-02-28 10:33:03 +11:00
2021-01-23 16:55:24 +11:00
2020-02-28 10:33:03 +11:00
2020-03-27 14:40:46 +11:00
2020-04-23 11:24:25 +10:00
2020-11-13 17:19:05 +11:00
2020-09-08 12:53:24 +10:00
2020-09-08 12:53:24 +10:00
2020-09-08 11:41:31 +10:00
2020-09-08 12:53:24 +10:00
2020-11-13 17:19:05 +11:00
2019-06-05 15:28:30 +10:00
2020-11-13 17:19:05 +11:00
2020-11-13 17:19:05 +11:00
2020-09-08 12:53:24 +10:00
2020-07-18 14:22:06 +10:00
2020-04-13 21:44:09 +10:00
2020-02-28 10:31:07 +11:00
2020-11-13 17:19:05 +11:00