tzset.3: Add some clarifying remarks to discussion of Julian day formats

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-03-24 16:15:51 +13:00
parent 5a554f8e52
commit 567e764a80
1 changed files with 4 additions and 2 deletions

View File

@ -131,10 +131,12 @@ These fields may have the following formats:
.TP
J\fIn\fP
This specifies the Julian day with \fIn\fP between 1 and 365.
February 29 is never counted even in leap years.
Leap days are not counted.
In this format, February 29 can't be represented;
February 28 is day 59, and March 1 is always day 60.
.TP
.I n
This specifies the Julian day with \fIn\fP between 0 and 365.
This specifies the zero-based Julian day with \fIn\fP between 0 and 365.
February 29 is counted in leap years.
.TP
M\fIm\fP.\fIw\fP.\fId\fP