Brandon W Maister
46dee626e8
Merge pull request #510 from robyoung/backtick-doctest-examples
...
Use backticks for documentation examples
2020-12-20 18:17:36 -05:00
Rob Young
c9778f7583
Use backticks for documentation examples
...
The rustdoc documentation and the book only show examples as escaped
with backticks.
2020-11-30 21:54:46 +00:00
Brandon W Maister
2e0936bc3d
Merge pull request #504 from quodlibetor/date-prompt-naive
...
Push more prominently for folks to use NaiveDate over Date
2020-11-20 13:49:52 -05:00
Brandon W Maister
8c7e192a62
handle clippy::single-char-add-str
2020-11-20 12:38:35 -05:00
Brandon W Maister
6e31ebc0aa
Push more prominently for folks to use NaiveDate over Date
2020-11-20 12:38:35 -05:00
Brandon W Maister
c28a2ec362
Merge pull request #304 from jaredvann/microseconds-ts
...
Microseconds Timestamps, clone of #247
2020-11-13 15:03:07 -05:00
Jared Vann
b3ce83550b
Add serde functions for microsecond timestamps
2020-11-13 13:47:34 -05:00
Jared Vann
b832ba336a
Add functions to present DateTime in microseconds since epoch
2020-11-13 12:38:35 -05:00
Brandon W Maister
7373bc7091
Merge pull request #500 from ThomasdenH/main
...
Add some documentation and examples for formatting
2020-11-13 12:36:23 -05:00
Brandon W Maister
ad86afe7a8
Merge pull request #501 from chronotope/check-docs
...
Check that documentation builds without warnings on nightly
2020-11-13 12:35:06 -05:00
Brandon W Maister
d8a91d14db
Convert some more links to the auto-link format
2020-11-13 12:25:24 -05:00
Brandon W Maister
88c8022cf1
Silence another clippy lint that relies on a new feature
2020-11-13 12:12:28 -05:00
Brandon W Maister
fafea35b9e
Check that documentation builds without warnings on nightly
...
This should ensure that all intra-doc links are correct.
2020-11-13 12:12:28 -05:00
Thomas
78305947ff
Add to changelog
2020-11-10 12:23:05 +01:00
Thomas
f684ebfbee
Add some documentation and examples for formatting
2020-11-10 12:20:06 +01:00
Brandon W Maister
391142a64f
Merge pull request #493 from chronotope/rel-0.4.19
...
Release 0.4.19
2020-09-30 11:07:35 -04:00
Brandon W Maister
4eeedcfcc4
Release 0.4.19
v0.4.19
2020-09-30 10:54:28 -04:00
Brandon W Maister
597717f0b0
Merge pull request #491 from quodlibetor/fix-oldtime-tzset
...
Fix call of extern tzset function
2020-09-30 10:41:41 -04:00
Brandon W Maister
fbc1b93431
Check that we compile on solaris
...
This also adds infrastructure to make it easier to add more check targets in
the future.
2020-09-30 10:27:10 -04:00
Alexander Jackson
6a97d72462
Fix a small typo in NaiveDateTime's Display impl ( #492 )
...
Fix a small typo in the documentation of NaiveDateTime's Display
implementation to say Display instead of Debug.
2020-09-30 10:24:18 -04:00
Brandon W Maister
f91e7e139c
Tighten targets where tzset is defined
...
It doesn't need to be public in oldtime, and it is only used in the
illumos/solaris environments.
2020-09-30 09:55:25 -04:00
Brandon W Maister
f3bbc958a8
Fix call of extern tzset function
2020-09-29 19:50:15 -04:00
Brandon W Maister
c324d0ea08
Always run tests on merge ( #487 )
2020-09-29 17:26:41 -04:00
Brandon W Maister
866eb61277
Update changelog for 0.4.18 ( #486 )
2020-09-26 11:34:01 -04:00
Brandon W Maister
6f20fe3931
Release version 0.4.18
v0.4.18
2020-09-26 11:19:50 -04:00
Brandon W Maister
42a877f1bd
Run tests when Cargo.toml changes
2020-09-26 11:19:25 -04:00
Brandon W Maister
cf771cb5be
Give an error message when the wasm test fails ( #482 )
2020-09-26 11:03:14 -04:00
Nikhil Benesch
1b895b4719
Restore support for x86_64-fortanix-unknown-sgx ( #485 )
2020-09-26 11:02:39 -04:00
Nikhil Benesch
1402e8dd5e
Update duration docs for oldtime feature ( #484 )
...
The main crate docs made some claims about the Duration type that became
incorrect with the new oldtime feature (#478 ).
Per @jhpratt.
2020-09-26 10:57:33 -04:00
Brandon W Maister
70432bc5b6
Merge pull request #483 and release 0.4.17
2020-09-25 21:17:51 -04:00
Brandon W Maister
a9dd78418f
Release v0.4.17
v0.4.17
2020-09-25 21:08:21 -04:00
Brandon W Maister
1df92223cf
The wasm-bindgen code refers to oldtime::Duration and is failing
...
https://github.com/chronotope/chrono/pull/286#issuecomment-699146233
2020-09-25 17:44:00 -04:00
Brandon W Maister
9085f95452
Merge pull request #481 from quodlibetor/rel-0.4.16
...
Release 0.4.16
2020-09-25 15:24:34 -04:00
Brandon W Maister
136b4690ec
Release 0.4.16
v0.4.16
2020-09-25 15:19:33 -04:00
Nikhil Benesch
5115c6f5f9
Don't require time crate for clock
feature ( #478 )
...
Absorb just enough of the time crate that it is no longer required for
the clock feature. v0.1 of the time crate is long deprecated, and v0.2 of
the crate is a complete rewrite.
Vendoring v0.1 allows chrono to control its own destiny. It also means
that downstream users that have upgraded to the time v0.2 ecosystem do
not wind up with both time v0.1 and v0.2 in the dependency tree.
Even with this patch, the dependency on the old time crate remains by
default for backwards compatibility. Specifically, the
`chrono::Duration` type is a re-export of the `time::Duration` type when
the `oldtime` feature is enabled, as it is by default. The intent is
that the `oldtime` feature will be removed when chrono v0.5 is released.
Supersedes #286 .
Fixes #400 .
2020-09-25 15:14:58 -04:00
Alexander Andreev
a314c61944
Spell checking in datetime.rs ( #480 )
2020-09-24 11:01:09 -04:00
Aleksandr Bashurov
f4c42b4f14
Skip IANA TZ names when parsing %Z specifier ( #473 )
2020-08-21 11:56:10 -04:00
Brandon W Maister
709e10ed26
Merge pull request #472 from quodlibetor/rel-0.4.15
...
Release 0.4.15
2020-08-14 17:04:32 -04:00
Brandon W Maister
7e0c0de619
Release 0.4.15
v0.4.15
2020-08-14 17:00:31 -04:00
Brandon W Maister
af1c2c1ff8
Merge pull request #470 from quodlibetor/run-compile-check-on-feature-combinations
...
Run cargo check on more feature combinations
2020-08-14 16:56:50 -04:00
Brandon W Maister
65e6dbd110
Get rid of unnecessary Vec in default path of format_inner
...
Also slightly refactor to make the locales feature's impact easier to
visualize.
2020-08-14 16:32:37 -04:00
Brandon W Maister
cb79089295
Test workflow changes when workflows change
2020-08-14 14:55:40 -04:00
Brandon W Maister
58819de920
Run cargo check on more feature combinations
2020-08-14 14:55:40 -04:00
Brandon W Maister
47fa56c0c0
Document that 0.4.14 is yanked ( #469 )
...
Gotta improve some tests
2020-08-07 12:10:55 -04:00
Brandon W Maister
c1c2f7b066
Merge pull request #467 from quodlibetor/rel-0.4.14
...
Release 0.4.14
2020-08-07 11:46:52 -04:00
Brandon W Maister
db5b217326
Release 0.4.14
v0.4.14
2020-08-07 10:59:12 -04:00
Brandon W Maister
6426498d07
Always test release branches
2020-08-07 10:59:12 -04:00
Jason
c364de3f55
docs: fix link to cargo docs ( #464 )
2020-08-05 10:15:05 -04:00
Brandon W Maister
27617470a4
Merge pull request #465 from ShadoySV/main
...
Fix Local.from_local_datetime method for wasm
2020-08-05 10:14:34 -04:00
ShadoySV
31e3e1602e
Fix for test
2020-08-05 13:31:25 +03:00