tzset.3: add offset format
PATCH 1/1 tzset.3: add offset format
tzset.3 does not illustrate the POSIX offset format. Specifically, there is no indication in the manual what the optional components of it are.
Signed-off-by J William Piggott <[email protected]>
--- man3/tzset.3 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
man3/tzset.3 +6 -2
@@ -107,8 +107,12 @@ time to get Coordinated Universal Time (UTC). The \fIoffset\fP is positive if the local timezone is west of the Prime Meridian and negative if it is east. -The hour must be between 0 and 24, and the minutes and seconds -0 and 59. +The hour must be between 0 and 24, and the minutes and seconds 00 and 59: +.sp +.RS +.RI [ + | - ] hh [ :mm [ :ss ]] +.RE +.sp .PP The \fIdst\fP string and \fIoffset\fP specify the name and offset for the corresponding daylight saving timezone.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · JWP
tzset.3 does not illustrate the POSIX offset format. Specifically, there is no indication in the manual what the optional components of it are.
Thanks for your continued input on the page, William. Patch applied.
Cheers,
Michael
Quoted 25 lines
Signed-off-by J William Piggott <[email protected]>--- man3/tzset.3 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)man3/tzset.3 +6
-2@@ -107,8 +107,12 @@ time to get Coordinated Universal Time (UTC). The \fIoffset\fP is positive if the local timezone is west of the Prime Meridian and negative if it is east. -The hour must be between 0 and 24, and the minutes and seconds -0 and 59. +The hour must be between 0 and 24, and the minutes and seconds 00 and 59: +.sp +.RS +.RI [ + | - ] hh [ :mm [ :ss ]] +.RE +.sp .PP The \fIdst\fP string and \fIoffset\fP specify the name and offset for the corresponding daylight saving timezone.
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html