From 0d6c3ce11ab1c22237b219909d92162976b622fb Mon Sep 17 00:00:00 2001 From: Kang Seonghoon Date: Mon, 25 May 2015 10:12:11 +0900 Subject: [PATCH] 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. --- README.md | 7 ------- src/format/strftime.rs | 2 +- src/lib.rs | 7 ------- 3 files changed, 1 insertion(+), 15 deletions(-) diff --git a/README.md b/README.md index 8cf54b4..efa39af 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/src/format/strftime.rs b/src/format/strftime.rs index 1f5c38d..f261270 100644 --- a/src/format/strftime.rs +++ b/src/format/strftime.rs @@ -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:** diff --git a/src/lib.rs b/src/lib.rs index bd5bb83..93d6872 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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