a couple of documentation fixes.
- We've got 1.0.0, so no need for version pinning now. - `%Z` is formatting-only specifier but wasn't clearly documented. Fixes #38.
This commit is contained in:
parent
9cff70bd04
commit
0d6c3ce11a
|
@ -34,13 +34,6 @@ Put this in your `Cargo.toml`:
|
|||
chrono = "0.2"
|
||||
```
|
||||
|
||||
Or in the case you are using Rust 1.0 beta, pin the exact version:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
chrono = "=0.2.14"
|
||||
```
|
||||
|
||||
And put this in your crate root:
|
||||
|
||||
```rust
|
||||
|
|
|
@ -62,7 +62,7 @@ Spec. | Example | Description
|
|||
`%r` | `12:34:60 AM` | Hour-minute-second format in 12-hour clocks. Same to `%I:%M:%S %p`.
|
||||
| |
|
||||
| | **TIME ZONE SPECIFIERS:**
|
||||
`%Z` | `ACST` | Local time zone name.
|
||||
`%Z` | `ACST` | *Formatting only:* Local time zone name.
|
||||
`%z` | `+09:30` | Offset from the local time to UTC (with UTC being `+00:00`).
|
||||
| |
|
||||
| | **DATE & TIME SPECIFIERS:**
|
||||
|
|
|
@ -30,13 +30,6 @@ Put this in your `Cargo.toml`:
|
|||
chrono = "0.2"
|
||||
```
|
||||
|
||||
Or in the case you are using Rust 1.0 beta, pin the exact version:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
chrono = "=0.2.14"
|
||||
```
|
||||
|
||||
And put this in your crate root:
|
||||
|
||||
```rust
|
||||
|
|
Loading…
Reference in New Issue