[Bug 287080] date(1): current number of seconds.milliseconds since the Unix epoch
Date: Mon, 10 Nov 2025 15:03:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287080
Wolfram Schneider <wosch@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|15.0-CURRENT |16.0-CURRENT
CC| |0mp@FreeBSD.org,
| |des@FreeBSD.org,
| |markj@FreeBSD.org,
| |wosch@FreeBSD.org
Status|New |Open
--- Comment #5 from Wolfram Schneider <wosch@FreeBSD.org> ---
(In reply to Dan Anderson from comment #3)
Thanks for your analysis. For now I can live with nanoseconds instead
milliseconds, and do the conversion ns->ms in a post step.
--------------------------------------------------
commit eeb04a736cb9c07d191af886e25d5f198824658e
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: Sun Apr 21 23:25:32 2024 +0200
The format of %N is meant to be compatible with that of GNU date.
--------------------------------------------------
so the open issue is that the FreeBSD date don't support %3N as GNU date.
gdate '+%s.%3N'
1762786801.300
date '+%s.%3N'
1762786810.3N
--
You are receiving this mail because:
You are the assignee for the bug.