Date: Mon, 10 Nov 2025 15:03:51 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 287080] date(1): current number of seconds.milliseconds since the Unix epoch Message-ID: <bug-287080-227-LK3n5Y5G7D@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-287080-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
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.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-287080-227-LK3n5Y5G7D>
