https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287080
--- Comment #3 from Dan Anderson <[email protected]> --- OK so I just checked the man page for date in Linux (https://man7.org/linux/man-pages/man1/date.1.html) %N displays nanoseconds not milliseconds. So for both gdate and date in your examples you are requesting nanoseconds. It looks to me like the 3 in the command line is what is throwing the wrench in things. Under FreeBSD’s implementation, that will put 3 before the number of nanoseconds implying 3*10^6 nanoseconds. The issue is the for loop. I’d suggest the bug fix would be rewriting this to be more efficient. I’d have to look to see what that looks like. It seems gdate is reading the 3 as “first three digits” but I can’t find that as a documented feature in the man page, and FAIK is actually a bug in gdate… -- You are receiving this mail because: You are the assignee for the bug.
