<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/date, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-02-18T15:50:20Z</updated>
<entry>
<title>date: Add SPDX-License-Identifier tags</title>
<updated>2026-02-18T15:50:20Z</updated>
<author>
<name>Tuukka Pasanen</name>
<email>tuukka.pasanen@ilmi.fi</email>
</author>
<published>2026-02-09T08:03:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=62269b2f23859a20bc6a68ca64648217c421c616'/>
<id>urn:sha1:62269b2f23859a20bc6a68ca64648217c421c616</id>
<content type='text'>
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55207
</content>
</entry>
<entry>
<title>date: Improve nanosecond support</title>
<updated>2025-11-11T14:58:35Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-11-11T14:58:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=38839c872e7af6a1424009bf07d6b4450e9ca61d'/>
<id>urn:sha1:38839c872e7af6a1424009bf07d6b4450e9ca61d</id>
<content type='text'>
Add support for a field width, which defaults to 9 if unspecified or
zero.  If the width is not exactly 9, we have to either cut off digits
or append zeroes to make up the difference.  If the width is a dash,
we pick a width based on the clock's reported resolution.  This brings
us in line with GNU coreutils.

PR:		287080
MFC after:	1 week
Reviewed by:	0mp
Differential Revision:	https://reviews.freebsd.org/D53667
</content>
</entry>
<entry>
<title>date.1: Lint with mandoc</title>
<updated>2025-11-05T12:36:35Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2025-11-05T12:34:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e878ba8eea7206b3a435338c6eed0e4264e0ce14'/>
<id>urn:sha1:e878ba8eea7206b3a435338c6eed0e4264e0ce14</id>
<content type='text'>
Specifically, remove Tn macors, replace Li with Ql, and escape %N to
address date.1's rendering issues on man.freebsd.org.

PR:		290801
Reported by:	jinwookjeongg@gmail.com
MFC after:	1 week
Sponsored by:	Klara, Inc.
</content>
</entry>
<entry>
<title>date(1): Improve manpage around '-I'</title>
<updated>2025-09-01T16:51:45Z</updated>
<author>
<name>Michael Osipov</name>
<email>michaelo@FreeBSD.org</email>
</author>
<published>2025-08-31T20:06:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=21628c79d541b55b5e60231cefec73ca31719b6d'/>
<id>urn:sha1:21628c79d541b55b5e60231cefec73ca31719b6d</id>
<content type='text'>
* ISO 8601 defines two formats: basic and extended, clarify that we
  output the extended format only.
* Clarify that ISO 8601 is only aware of timezone /offsets/, not timezones,
  it has no relation to the Olson timezone database (TZ environment variable).

Reviewed by:	otis (mentor), des
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D52314
</content>
</entry>
<entry>
<title>date: Documentation nits.</title>
<updated>2024-09-10T12:29:14Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-09-10T12:28:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=355ebf80b1ed98cf7ca9c51ce7e3e6dcb376853d'/>
<id>urn:sha1:355ebf80b1ed98cf7ca9c51ce7e3e6dcb376853d</id>
<content type='text'>
* Fix spurious capitalization.
* Fix inconsistent quoting.
* Use `Dq` rather than ASCII double quotes.

MFC after:	3 days
Sponsored by:	Klara, Inc.
Reviewed by:	0mp
Differential Revision:	https://reviews.freebsd.org/D46622
</content>
</entry>
<entry>
<title>date: Fix a few nits.</title>
<updated>2024-09-04T17:32:23Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-09-04T17:32:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a8ddd1926a34fc20970d9ceaad71b31fc414b1c5'/>
<id>urn:sha1:a8ddd1926a34fc20970d9ceaad71b31fc414b1c5</id>
<content type='text'>
* Don't use `asprintf()` when `strdup()` can do the job just as well.
* Fix a couple of typos in a comment.

Fixes:		eeb04a736cb9
MFC after:	3 days
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D46533
</content>
</entry>
<entry>
<title>Remove residual blank line at start of Makefile</title>
<updated>2024-07-15T22:43:39Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-07-15T04:46:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9ac41698b2f322d55ccf9da50a3596edb2c1800'/>
<id>urn:sha1:e9ac41698b2f322d55ccf9da50a3596edb2c1800</id>
<content type='text'>
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
</content>
</entry>
<entry>
<title>date.1: Note that nanosecond support is to appear first in 14.1</title>
<updated>2024-05-02T20:48:08Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2024-05-02T20:45:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c40e0bff7257e6d239779a5106dc67429941f63f'/>
<id>urn:sha1:c40e0bff7257e6d239779a5106dc67429941f63f</id>
<content type='text'>
Sponsored by:	Klara, Inc.
</content>
</entry>
<entry>
<title>date: Correctly check outcome of mktime().</title>
<updated>2024-04-28T17:12:58Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2024-04-28T17:12:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dafb424b8d44c7fdc9cfe876a79aad05c438def0'/>
<id>urn:sha1:dafb424b8d44c7fdc9cfe876a79aad05c438def0</id>
<content type='text'>
X-MFC-With:	7b390cb63689
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D44982
</content>
</entry>
<entry>
<title>date: Fix tests by initializing timespec structure</title>
<updated>2024-04-26T15:32:57Z</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2024-04-26T15:19:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7b390cb636899582243e4daa8edbdb30d686d9fb'/>
<id>urn:sha1:7b390cb636899582243e4daa8edbdb30d686d9fb</id>
<content type='text'>
The tests related to nanosecond support were failing on amd64 due to
uninitialized timespec structure.

Fixes:		eeb04a736cb9 date: Add support for nanoseconds
Reviewed by:	markj
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D44975
</content>
</entry>
</feed>
