| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
MFC after: 1 week
MFC with: 264968
|
|
|
|
|
|
|
| |
As stated in the man page, this is equivalent to use "%a, %d %b %Y %T %z"
as the output format while LC_TIME is set to the "C" locale.
This is compatible with date(1) from the GNU core utilities.
|
|
|
|
|
|
|
|
|
|
| |
usually be set first when using -v.
Adjust an example that sets the day to 30 before setting the month to 3 in
accordance with this approach as the example would always fail in February!
PR: 147354
MFC after: 2 weeks
|
|
|
|
| |
I removed utmp and its manpage, but not other manpages referring to it.
|
|
|
|
| |
Pointed out by: ru
|
| |
|
|
|
|
|
|
|
| |
Xref locale(1) and bump document date.
Reviewed by: keramida
No Objections: -standards
|
| |
|
|
|
|
| |
Sort standard sections in the (documented) preferred order.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on March 31 won't take you to March 2 or 3 (now the result will
be the last day of February.)
In general, now stepping by months from the last days of the current
month A will take you to the very last day of the target month B if
B is shorter than A.
The previous version would just step to March 31 and rely on mktime(3)
to correct the date. Despite its simplicity, such way was counter-intuitive
to users and caused pain to shell script writers.
Noticed by: Igor Timkin <ivt at gamma dot ru>
Approved by: brian
MFC after: 2 weeks
|
|
|
|
|
|
| |
back into epoch time. Everytime I'm asked to do this by someone I
have to spend about ten minutes recreating the same command line.
So record it under examples.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
decoration. Further improvements are welcome, but at least this
is a separate of the various modes of operation date has, as well as
sectioning off the two deprecated options for settimeofday(tz) that
don't even apply to actual operation of date as such, anyway.
|
|
|
|
| |
OK'ed by: imp, core
|
| |
|
| |
|
|
|
|
| |
put from another.
|
|
|
|
| |
MFC After: 1 week
|
|
|
|
|
|
| |
Suggested by: sheldonh
Approved by: bde
MFC after: 1 day
|
|
|
|
|
|
| |
sets
PR: 35606
|
|
|
|
|
|
|
| |
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
|
| |
|
| |
|
|
|
|
|
| |
PR: 24773
Approved by: nik
|
|
|
|
|
| |
PR: 23502
Submitted by: Robert Boyd <rboyd@pokerspot.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
in committers (Message-Id: <72836.964344168@axl.ops.uunet.co.za>).
Also cleaned up a .Pq macro which was causing problems previous
to the original update I made.
Reviewed by: sheldonh
Approved by: jkh
|
|
|
|
|
|
|
|
| |
option already supported octal. Add a comment to the -r option
in the man page so it's a bit more specific.
Discrepancy brought to my attention by: sasdrq@unx.sas.com
Approved by: jkh
|
|
|
|
| |
one mdoc problem from rev 1.40 (unnecessarily populated Nm macro).
|
|
|
|
|
|
| |
PR: 18792
Submitted by: Bob Johnson <bobj@atlantic.net>
Approved by: Alexander Langer <alex@freebsd.org>
|
|
|
|
|
|
|
|
|
| |
* remove hard sentence breaks
* use of Fl with Ar if argument available
* Dq -> Sq where better
* Ql -> Dq and Ql -> Fa where better
* include sections to Xr macro
* It Ar .ss -> It Ar ss
|
|
|
|
|
|
|
| |
fixes (very important in this case). Version 1.40 should be discarded.
This version includes the language diffs. To receive them, use
cvs diff [-u] -r 1.39 -r 1.41
|
|
|
|
|
|
|
|
| |
usage of .Xr and removal of hard sentence breaks).
PR: 18880
Submitted by: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Obtained from: OpenBSD (in parts)
|
|
|
|
|
| |
example. Oct 29 0:30 +3 hours is still Oct 29, no matter what the
DST setting is, and not Oct 30..
|
|
|
|
|
| |
PR: docs/19554
Submitted by: Kazuo Horikawa <horikawa@psinet.com>
|
|
|
|
| |
correct one of the -v options.
|
|
|
|
|
|
|
|
|
| |
date is launched with the "u" argument. It now operates in the documented
manner.
Fix typo in date man page.
Submitted by: David McNett <nugget@slacker.com>
|
|
|
|
|
|
| |
DST. Explain in more detail what date -v does when mixed with DST.
Previous code suggested broken by: wollman
|
|
|
|
|
| |
PR: 17250
Submitted by: cjclark@home.com (Crist J. Clark)
|
| |
|
|
|
|
|
| |
PR: 14472
Reported by: j_guojun@lbl.gov (Jin Guojun)
|
| |
|
|
|
|
|
|
| |
being relevant when we ripped out the BSD/VAX code.
Submitted by: Guy Harris <gharris@flashcom.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
add a -j flag that tells date not to try to set the date. This allows you
to use date as a userland interface to strptime.
example:
TZ=GMT date -j -f "%a, %d %b %Y %T %Z" "Sun, 08 Nov 1998 02:22:20 GMT" +%s
which is the standard format for Last-modified headers in HTTP requests.
only one to respond: eivind
|