tottoto
b6cc4dbe63
Format toml with taplo ( #1117 )
2023-06-01 09:23:08 +02:00
Paul Dicker
26e4f24df5
Update CITATION.cff
2023-05-31 11:25:38 +02:00
Kevin Matthes
5eeedae729
Update CITATION.cff
2023-05-31 11:25:38 +02:00
Kevin Matthes
7ec93b100f
Add author names and update revision information
2023-05-31 11:25:38 +02:00
Kevin Matthes
a03b2957e2
Add CFF validation job to lint.yml
2023-05-31 11:25:38 +02:00
Kevin Matthes
865e5991b5
Create CITATION.cff
2023-05-31 11:25:38 +02:00
Dirkjan Ochtman
5b8449e1f2
Bump version to 0.4.26
v0.4.26
2023-05-30 21:22:28 +02:00
Paul Dicker
7e6646d85b
Update README
2023-05-30 21:18:31 +02:00
Paul Dicker
8bd13db242
Use result in doctest
2023-05-30 21:15:42 +02:00
Paul Dicker
becc22219d
Revert backport of #807
2023-05-30 21:15:42 +02:00
tottoto
373c6e46de
Update to 2021 edition
2023-05-30 10:01:34 +02:00
jtmoon79
e41451dedc
try_verify_against_date_command NFC print progress messages
...
Print progress messages for human users watching this long-running
test `try_verify_against_date_command`.
2023-05-30 10:00:47 +02:00
jtmoon79
b1729f3a9b
try_verify_against_date sanity check date command
...
Sanity check `date` command used in tests `try_verify_against_date_command`
and `try_verify_against_date_command_format`. Make sure it's the kind of
`data` command expected (accepts `--version`).
Also, it's just good to print this for debugging purposes.
2023-05-30 10:00:47 +02:00
jtmoon79
05c9408f43
consolidate path to date
2023-05-30 10:00:47 +02:00
Paul Dicker
b5b936af51
Error on negative durations in DurationRound
2023-05-30 09:59:09 +02:00
jtmoon79
c0d848d4c8
parse tests around nanosecond parsing bare '.'
2023-05-30 09:57:11 +02:00
jtmoon79
f616167f8b
yamllint cleanup lint.yml test.yml
...
NFC fix most `yamllint` errors and warnings in
`lint.yml` and `test.yml`.
2023-05-30 09:46:18 +02:00
tottoto
3c3836d8ba
Remove num-iter dependency
2023-05-29 21:43:09 +02:00
Dirkjan Ochtman
82221c0230
Bump version to 0.4.25
v0.4.25
2023-05-29 11:10:56 +02:00
jtmoon79
c0a99b747b
Use bash instead of sh
...
The script at the URL uses bash-isms. Previously `sh` was silently emitting
an error but by luck was succeeding.
2023-05-29 10:42:56 +02:00
jtmoon79
42fca00f2b
test.yml run statement should fail early
...
Force the `run` script to fail early using bash shell
`set` options.
Previously, errors before the last statement of the script would be
ignored.
2023-05-29 10:42:56 +02:00
scarf
c01e3a7238
test: explicitly set LANG
in gnu date
2023-05-28 11:39:42 +02:00
Paul Dicker
656c941fc4
Switch test to TryFrom
2023-05-27 00:12:37 +02:00
Paul Dicker
a8f177e62f
Move wasmbind methods into inner module
2023-05-26 14:34:50 +02:00
Paul Dicker
51cce84b86
Move stub into local/mod.rs
2023-05-26 14:34:50 +02:00
Paul Dicker
2b7a068be8
Only implement the offset_from_
methods on Local
2023-05-26 14:34:50 +02:00
Paul Dicker
7fb3e5921c
Just rely on the standard library for Local::now
2023-05-26 14:34:50 +02:00
Paul Dicker
bdf8b19515
Deny warnings in doctests
2023-05-26 12:16:08 +02:00
Paul Dicker
1d16082390
Use deserialization result in doctests
2023-05-26 12:16:08 +02:00
Paul Dicker
c14b3bb5f9
Fix documentation that is no longer true
2023-05-26 12:16:08 +02:00
Paul Dicker
7c90f35a65
Ensure results are used
2023-05-26 12:16:08 +02:00
Paul Dicker
799cf8d18b
Update main examples and use ?
2023-05-26 12:16:08 +02:00
Paul Dicker
03a64cefd2
Avoid deprecated methods in doctests
2023-05-26 12:16:08 +02:00
Paul Dicker
e86df391a3
Remove unused imports in doctests
2023-05-26 12:16:08 +02:00
Paul Dicker
8beda4cbeb
Remove mention of deprecated Date
in main documentation
2023-05-26 12:16:08 +02:00
RumovZ
b4c7fb4688
Extract timezone info from tzdata file on Android ( #978 )
2023-05-26 11:40:19 +02:00
Paul Dicker
403b247aff
Change NaiveDate::from_of
to take ordinal and year flags
2023-05-23 11:00:16 +02:00
Paul Dicker
7d98475f77
Ensure Of
is always valid
2023-05-23 11:00:16 +02:00
Paul Dicker
210f2689ee
Make internal functions returning Weekday const
2023-05-23 11:00:16 +02:00
Paul Dicker
d3c23e65e0
Make fns in internals const
2023-05-23 11:00:16 +02:00
Paul Dicker
327e5ee454
Reformat test_datetime_parse_from_str
2023-05-22 13:19:15 +02:00
jtmoon79
bf9f876388
add test_issue_866
...
Add single test case specific to Issue #866
2023-05-22 10:09:53 +02:00
Paul Dicker
cb27ebf7bf
Fix out-of-range panic in NaiveWeek::last_day
2023-05-19 15:54:52 +02:00
Paul Dicker
b6b35dc932
Make test_naiveweek clearer by including the day of week
2023-05-19 15:54:52 +02:00
Dirkjan Ochtman
07398a6270
Remove AUTHORS metadata
...
This file hasn't been kept up to date, and it's easy to get the
data from GitHub.
2023-05-19 15:27:20 +02:00
Paul Dicker
c944b9c396
Add parse_and_remainder methods
2023-05-19 14:55:43 +02:00
Kurtis Nusbaum
76285956af
add and_utc_timezone function
2023-05-19 13:57:44 +02:00
Jonas Heylen
ada0629bb4
Fix link in serde docs
2023-05-17 14:03:01 +02:00
Mahmoud Al-Qudsi
2269200cb5
Update RFC 2822 and RFC 3339 docs
...
Clarify the behavior of the parse methods, the relationship between ISO 8601 and
RFC 3339, and use a brief description on the first line of each function's
rustdoc to keep the resulting documentation pretty and concise.
2023-05-17 14:03:01 +02:00
Eric Sheppard
b0983c25d9
Remove dependency on num-traits
...
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
2023-05-17 14:03:01 +02:00