coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

new 'date' option --resolution and format %-N


From: Paul Eggert
Subject: new 'date' option --resolution and format %-N
Date: Fri, 31 Dec 2021 12:24:40 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

I installed the attached series of patches into GNU coreutils. The main user-visible change is to add a new --resolution option to GNU 'date', which queries clock_getres to print the clock resolution. 'date' and similar programs now also support the %-N format, which prints subsecond fractions just wide enough to cover the resolution.

Attachment: 0001-build-port-to-AIX-7.1.patch
Description: Text Data

Attachment: 0002-doc-Document-vs-.-in-date-rfc-3339-ns.patch
Description: Text Data

Attachment: 0003-build-update-gnulib-submodule-to-latest.patch
Description: Text Data

Attachment: 0004-date-N-now-means-suppress-extra-digits.patch
Description: Text Data

Attachment: 0005-date-new-option-resolution.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]