| #
79e57ea6
|
| 15-Oct-2025 |
Gordon Tetlow <gordon@FreeBSD.org> |
libc: Add "Z" as TZ designator for strptime.
ISO 8601 allows use of "Z" as the time zone designator. Update the strptime parser to allow this usage.
While we are at it, update the manpage to reflec
libc: Add "Z" as TZ designator for strptime.
ISO 8601 allows use of "Z" as the time zone designator. Update the strptime parser to allow this usage.
While we are at it, update the manpage to reflect that both UTC and Z are now valid options.
Reviewed by: des MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D53083
show more ...
|
| #
4285e024
|
| 09-Dec-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
strptime: Fix day-of-week calculation.
The day-of-week calculation used the raw year value without adjusting for TM_YEAR_BASE, so it was off by one for 300 years out of every 400; it just happened t
strptime: Fix day-of-week calculation.
The day-of-week calculation used the raw year value without adjusting for TM_YEAR_BASE, so it was off by one for 300 years out of every 400; it just happened to be correct for 1901 through 2000. It also used a loop where a simple addition would have sufficed.
While here, simplify our version of Gauss's algorithm, and document that we assume the Gregorian calendar.
MFC after: 1 week PR: 282916 Reviewed by: imp, allanjude, philip Differential Revision: https://reviews.freebsd.org/D47977
show more ...
|
| #
fa9896e0
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line nroff pattern
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
| #
79e57ea6
|
| 15-Oct-2025 |
Gordon Tetlow <gordon@FreeBSD.org> |
libc: Add "Z" as TZ designator for strptime.
ISO 8601 allows use of "Z" as the time zone designator. Update the strptime parser to allow this usage.
While we are at it, update the manpage to reflec
libc: Add "Z" as TZ designator for strptime.
ISO 8601 allows use of "Z" as the time zone designator. Update the strptime parser to allow this usage.
While we are at it, update the manpage to reflect that both UTC and Z are now valid options.
Reviewed by: des MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D53083
show more ...
|
| #
4285e024
|
| 09-Dec-2024 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
strptime: Fix day-of-week calculation.
The day-of-week calculation used the raw year value without adjusting for TM_YEAR_BASE, so it was off by one for 300 years out of every 400; it just happened t
strptime: Fix day-of-week calculation.
The day-of-week calculation used the raw year value without adjusting for TM_YEAR_BASE, so it was off by one for 300 years out of every 400; it just happened to be correct for 1901 through 2000. It also used a loop where a simple addition would have sufficed.
While here, simplify our version of Gauss's algorithm, and document that we assume the Gregorian calendar.
MFC after: 1 week PR: 282916 Reviewed by: imp, allanjude, philip Differential Revision: https://reviews.freebsd.org/D47977
show more ...
|
| #
fa9896e0
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line nroff pattern
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
| #
9268022b
|
| 19-Nov-2014 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge from head@274682
|
| #
2a382033
|
| 14-Oct-2014 |
Glen Barber <gjb@FreeBSD.org> |
Reintegrate head@r273095
Sponsored by: The FreeBSD Foundation
|
| #
c81ab40b
|
| 11-Oct-2014 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
Merge HEAD@r272944.
|
| #
ed6aacb5
|
| 10-Oct-2014 |
Neel Natu <neel@FreeBSD.org> |
IFC @r272887
|
| #
a5fedf11
|
| 06-Oct-2014 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
Sync to HEAD@r272609.
|
| #
107af8f2
|
| 05-Oct-2014 |
Neel Natu <neel@FreeBSD.org> |
IFC @r272481
|
| #
79ec4cf4
|
| 04-Oct-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
Minor doc format fix.
Submitted by: Yonghyeon PYUN
|
| #
1ce4b357
|
| 04-Oct-2014 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
Sync to HEAD@r272516.
|
| #
27d6eee1
|
| 02-Oct-2014 |
Pedro F. Giffuni <pfg@FreeBSD.org> |
strptime(3): Update manpage for %U and %W.
%U and %W were implemented as part of r272273 so take them out of the BUGS section and mention them in the SYNOPSIS.
MFC after: 1 month
|
| #
23090366
|
| 04-Nov-2012 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Sync from head
|
| #
de720122
|
| 15-Jul-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head r236710 through r238467.
|
| #
6cf87ec8
|
| 13-Jul-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @238412.
|
| #
b652778e
|
| 11-Jul-2012 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r238370
|
| #
3f19323a
|
| 25-Jun-2012 |
Isabell Long <issyl0@FreeBSD.org> |
Add more locale-specific functions to the relevant man pages and Makefiles: - libc/stdtime/strftime.3 - libc/stdtime/strptime.3 - libc/stdlib/strfmon.3
Reviewed by: theraven Approved by: gabor (ment
Add more locale-specific functions to the relevant man pages and Makefiles: - libc/stdtime/strftime.3 - libc/stdtime/strptime.3 - libc/stdlib/strfmon.3
Reviewed by: theraven Approved by: gabor (mentor)
show more ...
|
| #
9268022b
|
| 19-Nov-2014 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge from head@274682
|
| #
2a382033
|
| 14-Oct-2014 |
Glen Barber <gjb@FreeBSD.org> |
Reintegrate head@r273095
Sponsored by: The FreeBSD Foundation
|
| #
c81ab40b
|
| 11-Oct-2014 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
Merge HEAD@r272944.
|
| #
ed6aacb5
|
| 10-Oct-2014 |
Neel Natu <neel@FreeBSD.org> |
IFC @r272887
|
| #
a5fedf11
|
| 06-Oct-2014 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
Sync to HEAD@r272609.
|