diff -r 53315c3db26b -r e56089d00750 src/eric7/MicroPython/MicroPythonFileManager.py --- a/src/eric7/MicroPython/MicroPythonFileManager.py Thu May 04 17:58:52 2023 +0200 +++ b/src/eric7/MicroPython/MicroPythonFileManager.py Fri May 05 18:16:57 2023 +0200 @@ -108,14 +108,16 @@ """ try: filesList = self.__device.lls(dirname, showHidden=showHidden) + adjustEpoch = ( + not self.__device.hasCircuitPython() + and self.__device.getDeviceData(key="epoch_year") == 2000 + ) result = [ ( decoratedName(name, mode), mode2string(mode), str(size), - mtime2string( - mtime, adjustEpoch=not self.__device.hasCircuitPython() - ), + mtime2string(mtime, adjustEpoch=adjustEpoch), ) for name, (mode, size, mtime) in filesList ]