date(1): Grammar fixes

Event:		Advanced UNIX programming course (Fall'23) at NTHU
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1035
This commit is contained in:
Chia-Jung Chang 2024-01-12 09:58:35 +08:00 committed by Li-Wen Hsu
parent 416fdc2d71
commit 8e9fc2d9f6
No known key found for this signature in database
GPG key ID: 82B261B14D3BC7AF

View file

@ -223,8 +223,8 @@ day, week day, month or year according to
.Ar val .
If
.Ar val
is preceded with a plus or minus sign,
the date is adjusted forwards or backwards according to the remaining string,
is preceded by a plus or minus sign,
the date is adjusted forward or backward according to the remaining string,
otherwise the relevant part of the date is set.
The date can be adjusted as many times as required using these flags.
Flags are processed in the order given.
@ -284,7 +284,7 @@ will be necessary to reach October 29, 2:30.
.Pp
When the date is adjusted to a specific value that does not actually exist
(for example March 26, 1:30 BST 2000 in the Europe/London timezone),
the date will be silently adjusted forwards in units of one hour until it
the date will be silently adjusted forward in units of one hour until it
reaches a valid time.
When the date is adjusted to a specific value that occurs twice
(for example October 29, 1:30 2000),