-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Dotan Barak on 9/11/2008 12:06 AM: > I noticed that the documentation of the utility "date" say that the > seconds (%S) can be from 0 to 60. > When i tried it i noticed that 59 is the maximum value which is being printed.
Thanks for the report. The documentation is correct; however, seconds can only be 60 when representing a leap second, and even then, only on machines that honor leap seconds. As there have been less than 100 leap seconds since 1970, and as many machines simplify calculations by not worrying about leap seconds, this means that you are very unlikely to ever see seconds of 60 be used. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjJDB4ACgkQ84KuGfSFAYAlaQCgoPpoeL91eWsVDuXOlLhAutyI PqsAnjbtDk8tDgkZJmsd7lpnGVrcbY2s =RJs2 -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
