|
31e573de
|
2025-07-17T16:43:42
|
|
parse-datetime: Update documentation regarding non-Gregorian calendars.
* doc/parse-datetime.texi (General date syntax): Mention that date
syntax should use the Gregorian calendar. Change examples that use %Y
to use LC_ALL=C, so that they work even for users in Thailand, Iran, or
Ethiopia.
|
|
7b089321
|
2025-01-01T09:24:36
|
|
maint: run 'make update-copyright'
|
|
5b92dd0a
|
2024-01-01T10:31:48
|
|
maint: run 'make update-copyright'
|
|
9f205ff9
|
2023-05-07T09:28:57
|
|
Warn against bogus TZ settings
* doc/parse-datetime.texi (Specifying time zone rules):
Warn against TZ="UTC=5".
|
|
32a72f45
|
2023-01-01T01:14:21
|
|
maint: run 'make update-copyright'
|
|
08ba9aae
|
2022-11-14T21:36:41
|
|
parse-datetime: improve doc formatting, timeliness
* doc/parse-datetime.texi: Use @samp and @code in menus
for consistenty with how the Coreutils manual will do
this sort of thing. Update examples to this year.
|
|
5336cb27
|
2022-07-13T18:54:56
|
|
* doc/parse-datetime.texi: Tweak wording again.
|
|
f65d00eb
|
2022-07-12T17:11:26
|
|
parse-datetime: improve doc for TZ="<-07>7" etc.
* doc/parse-datetime.texi (Specifying time zone rules):
Give examples of POSIX TZ strings that specify UTC offsets (Bug#56524).
|
|
9cde39f8
|
2022-05-17T15:47:35
|
|
parse-datetime: support 'J' military time zone
Requested by Brian Inglis in:
https://savannah.gnu.org/support/?110644
* lib/parse-datetime.y (parser_control): New member J_zones_seen.
(item): New item 'J'.
(military_table): Add 'J'.
(parse_datetime_body): Set and use J_zones_seen.
* tests/test-parse-datetime.c (main): Test "J".
|
|
eec12c00
|
2022-01-01T09:43:19
|
|
maint: run 'make update-copyright'
|
|
4b948321
|
2021-01-01T07:28:52
|
|
maint: run 'make update-copyright'
|
|
6a7314ac
|
2020-07-24T12:20:14
|
|
parse-datetime: modernize doc
* doc/parse-datetime.texi: Use more-current examples.
Don’t lead with 32-bit time_t, as it’s on its way out.
Capitalize “Epoch” to be consistent with POSIX.
|
|
7f5da041
|
2020-01-18T19:32:40
|
|
doc: Update license notices.
* doc/*.texi: Reference the GFDL 1.3 through a URL, rather than by
reference to a section or to a "file as part of this distribution".
|
|
2cdc1baf
|
2020-01-01T00:00:18
|
|
maint: Run 'make update-copyright'
|
|
9e78024b
|
2019-09-22T23:23:20
|
|
Update some URLs
This is a clerical change that mostly changes http: to https: in URLs
where either will work. It also updates some URLs that have moved,
removes some URLs that no longer work, and fixes related text.
|
|
f1f10d47
|
2019-08-09T13:47:41
|
|
parse-datetime: fix military timezone letters
Problem and trivial fix reported by Neil Hoggarth in:
https://lists.gnu.org/r/bug-gnulib/2019-08/msg00005.html
* lib/parse-datetime.y (military_table):
Do it the right way, not the RFC 822 way.
|
|
e6633650
|
2019-01-01T00:25:11
|
|
maint: Run 'make update-copyright'
|
|
281b825e
|
2018-01-01T00:57:25
|
|
maint: Run 'make update-copyright'
|
|
e89646ad
|
2017-01-09T11:55:22
|
|
maint: time stamp -> timestamp
Use the spelling "timestamp", as that is what POSIX uses.
|
|
a3fd683d
|
2017-01-01T02:59:23
|
|
version-etc: new year
* build-aux/gendocs.sh (version):
* doc/gendocs_template:
* doc/gendocs_template_min:
* doc/gnulib.texi:
* lib/version-etc.c (COPYRIGHT_YEAR):
Update copyright dates by hand in templates and the like.
* all files: Run 'make update-copyright'.
|
|
71090a2a
|
2016-01-01T00:56:19
|
|
version-etc: new year
* build-aux/gendocs.sh (version):
* doc/gendocs_template:
* doc/gendocs_template_min:
* doc/gnulib.texi:
* lib/version-etc.c (COPYRIGHT_YEAR):
Update copyright dates by hand in templates and the like.
* all files: Run 'make update-copyright'.
|
|
825f1628
|
2015-10-23T03:15:40
|
|
doc: use extended timezone format in iso-8601 example
* doc/parse-datetime.texi: The standard states that extended
format (separated with ':') is to be used consistently throughout.
Note that lib/parse-datetime.y can handle either tz format.
|
|
abb0d2e0
|
2015-04-21T10:40:50
|
|
doc: update FDL template to match FDL examples.
* doc/alloca-opt.texi:
* doc/alloca.texi:
* doc/c-ctype.texi:
* doc/c-strcase.texi:
* doc/c-strcaseeq.texi:
* doc/c-strcasestr.texi:
* doc/c-strstr.texi:
* doc/c-strtod.texi:
* doc/c-strtold.texi:
* doc/ctime.texi:
* doc/error.texi:
* doc/gcd.texi:
* doc/gnulib-tool.texi:
* doc/inet_ntoa.texi:
* doc/intprops.texi:
* doc/lib-symbol-visibility.texi:
* doc/maintain.texi:
* doc/parse-datetime.texi:
* doc/quote.texi:
* doc/regexprops-generic.texi:
* doc/standards.texi: Remove spurious 'with' in FDL license template.
|
|
b9bfe784
|
2015-01-01T01:38:23
|
|
version-etc: new year
* doc/gnulib.texi:
* lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date.
* all files: Run 'make update-copyright'.
|
|
1276a2c5
|
2014-01-01T00:04:40
|
|
maint: update copyright
I ran 'make update-copyright'.
Signed-off-by: Eric Blake <eblake@redhat.com>
|
|
79d54c7d
|
2013-01-06T07:31:32
|
|
doc: improve ISO 8601 discussion
* doc/parse-datetime.texi (Combined date and time of day items):
Specify more carefully what formats are supported and what is
done with excess precision.
|
|
133948ab
|
2013-01-05T17:23:52
|
|
doc: avoid small caps
* doc/parse-datetime.texi, doc/regex.texi: Don't use small caps;
they're more trouble than they're worth. Suggested by Karl Berry
in <http://bugs.gnu.org/13360>.
|
|
9fc81090
|
2013-01-01T00:50:58
|
|
maint: update all copyright year number ranges
Run "make update-copyright". Compare to commit 1602f0a from last year.
Signed-off-by: Eric Blake <eblake@redhat.com>
|
|
72fa964f
|
2012-12-27T01:16:25
|
|
Hyphen and dash fixes.
|
|
0815bd3d
|
2012-08-24T02:19:57
|
|
doc: do not use @acronym
* doc/inet_ntoa.texi (inet_ntoa):
* doc/parse-datetime.texi (Seconds since the Epoch)
(Specifying time zone rules):
* doc/posix-functions/inet_ntoa.texi (inet_ntoa):
Don't use @acronym. Problem reported by John Darlington in
<http://lists.gnu.org/archive/html/bug-gnulib/2012-08/msg00124.html>.
|
|
f686c288
|
2012-07-06T00:43:22
|
|
parse-datetime: doc tuneup
* doc/parse-datetime.texi: Index "leap seconds" and fix minor
spacing issues.
|
|
1602f0af
|
2012-01-01T10:04:58
|
|
maint: update all copyright year number ranges
Run "make update-copyright".
|
|
f8e2db84
|
2011-09-04T23:11:23
|
|
parse-datetime: document the newly accepted format
* doc/parse-datetime.texi (Combined date and time of day items):
New section.
|
|
c2ecbc9a
|
2011-08-17T16:40:49
|
|
parse-datetime: accept ISO 8601 date and time rep with "T" separator
The parser now accepts ISO 8601 date-time strings with "T" as the
separator. It has long parsed dates like "2004-02-29 16:21:42"
with a space between the date and time strings. Now it also parses
"2004-02-29T16:21:42" and fractional-second and time-zone-annotated
variants like "2004-02-29T16:21:42.333-07:00"
* lib/parse-datetime.y: Parse ISO 8601 extended date and time
of day representation using the 'T' separator character.
* doc/parse-datetime.texi (General date syntax): replace use of
deprecated --iso-8601 option with --rfc-3339 in example of date
command output formats that can be parsed.
* tests/test-parse-datetime.c (tm_diff): New function, taken from
lib/parse-datetime.y.
(gmt_offset): New function.
(main): Add additional test cases to validate ISO8601 extended
date and time of day format parsing.
|
|
d60f3b0c
|
2011-01-01T20:17:23
|
|
maint: update almost all copyright ranges to include 2011
Run the new "make update-copyright" rule.
|
|
97f1dfe4
|
2010-10-07T08:06:44
|
|
docs: update parse-datetime history
* doc/parse-datetime.texi (Authors of parse_datetime): Better
documentation of this function's history and alternatives.
Signed-off-by: Eric Blake <eblake@redhat.com>
|
|
464b2f68
|
2010-10-05T13:51:12
|
|
parse-datetime: do some more renaming
* doc/parse-datetime.texi (Authors of parse_datetime): Call it
parse_datetime, not get_date. Mention the renaming.
* lib/parse-datetime.y: Call it parse_datetime, not getdate,
in comments.
* m4/bison.m4: Likewise.
|
|
2bb63bfb
|
2010-10-05T11:40:11
|
|
parse-datetime: better name than get_date
* NEWS: Reword the deprecation notice.
* modules/get_date: Rename to modules/parse-datetime.
* modules/get_date-tests: Rename to modules/parse-datetime-tests.
* m4/get_date.m4: Rename to m4/parse-datetime.m4.
* lib/get_date.y: Rename to lib/parse-datetime.y.
* tests/test-get_date.c: Rename to tests/test-parse-datetime.c.
* doc/get_date.texi: Rename to doc/parse-datetime.texi.
* doc/getdate.texi: Provide fallback wrapper.
* lib/getdate.h: Move guts, and wrap...
* lib/parse-datetime.h: ...new file.
* lib/parse-datetime.y (get_date): Rename...
(parse_datetime): ...to this.
* m4/parse-datetime.m4 (gl_GET_DATE): Rename...
(gl_PARSE_DATETIME): ...to this.
* doc/posix-functions/getdate.texi (get_date): Provide fallback
documentation.
* modules/getdate (Files): Provide fallback docs and header.
(Notice, Depends-on): Update references.
* tests/test-parse-datetime.c: Likewise.
* DEPENDENCIES: Likewise.
* MODULES.html.sh (Date and time <time.h>): Likewise.
* doc/parse-datetime.texi (Date input formats)
(Authors of parse_datetime): Likewise.
* modules/parse-datetime (Files, configure.ac, Makefile.am)
(Include): Likewise.
* modules/parse-datetime-tests (Files, Makefile.am): Likewise.
* gnulib-tool: Likewise.
* m4/bison.m4 (gl_BISON): Likewise.
Suggested by Bruno Haible.
Signed-off-by: Eric Blake <eblake@redhat.com>
|