Thanks Erich, with this info I could pinpoint the problem. Apparently the 
functionality tested is not available on a disk formatted with macOS Extended 
(journaled), only on a disk formatted with APFS. This is the only machine with 
macOS Extended on the system disk so I should have realized earlier.

I tried formatting a USB stick to test all available formatting options for the 
Mac. Here a summary:

APFS -> 2021-02-18T15:57:00.190785 -> Works as intended with sub-second time

macOS extended -> 2021-02-18T17:10:44.000000 (same for all partitioning options 
and for case sensitive/insensitive) -> no sub-second time.

FAT32 -> 2021-02-18T17:21:21.000000 -> no sub-second time.

EXFAT -> 2021-02-18T17:29:03.170000 -> some sub-second time but not the same as 
APFS

Hälsningar/Regards/Grüsse,
P.O. Jonsson
oor...@jonases.se



> Am 18.02.2021 um 15:35 schrieb Erich Steinböck <erich.steinbo...@gmail.com>:
> 
> In short, what's the output of this:
> rexx -e "f = 'xyzzy'; call charout f, 'x'; say .File~new(f)~lastmodified; 'ls 
> --full-time xyzzy'"
> 
> On Linux I'm getting:
> 2021-02-18T15:32:29.972267
> -rw-rw-r-- 1 erichst erichst 8 2021-02-18 15:32:29.972267549 +0100 xyzzy
> 
> On Thu, Feb 18, 2021 at 3:28 PM Erich Steinböck <erich.steinbo...@gmail.com 
> <mailto:erich.steinbo...@gmail.com>> wrote:
> On this machine,
> when you create a file with rexx (e. g. rexx -e "call charout 'xyzzy', 'x'")
> and you then run ls --full-time xyzzy from the command line,
> does it show actual fractions of seconds, like this?
> 2021-02-18 15:25:37.160859110 +0100 xyzzy
> 
> _______________________________________________
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel

_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to