make.1: note that %s should only be used with :localtime

This commit is contained in:
sjg 2023-08-20 19:58:15 +00:00
parent 1b6a62ea92
commit 90280d3b93
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: make.1,v 1.367 2023/06/28 06:15:07 rillig Exp $
.\" $NetBSD: make.1,v 1.368 2023/08/20 19:58:15 sjg Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\"
.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94
.\"
.Dd June 28, 2023
.Dd August 20, 2023
.Dt MAKE 1
.Os
.Sh NAME
@ -1496,6 +1496,10 @@ The value is interpreted as a format string for
using
.Xr gmtime 3 ,
producing the formatted timestamp.
Note: the
.Ql %s
format should only be used with
.Sq Cm \&:localtime .
If a
.Ar timestamp
value is not provided or is 0, the current time is used.