Skip to content

Commit ed37279

Browse files
committed
0.2.16: mainly maintenance changes, with a minor formatting addition.
- Added `%.3f`, `%.6f` and `%.9f` specifier for formatting fractional seconds up to 3, 6 or 9 decimal digits. This is a natural extension to the existing `%f`. Note that this is (not yet) generic, no other value of precision is supported. (#45) - Forbade unsized types from implementing `Datelike` and `Timelike`. This does not make a big harm as any type implementing them should be already sized to be practical, but this change still can break highly generic codes. (#46) - Fixed a broken link in the `README.md`. (#41) - Tons of supporting examples for the documentation have been added. More to come.
1 parent acf4eab commit ed37279

5 files changed

Lines changed: 23 additions & 3 deletions

File tree

AUTHORS.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Chrono is mainly written by Kang Seonghoon <public+rust@mearie.org>,
22
and also the following people (in ascending order):
33

44
Colin Ray <r.colinray@gmail.com>
5+
Corey Farwell <coreyf@rwell.org>
56
Dan <dan@ebip.co.uk>
67
David Ross <daboross@daboross.net>
78
Eunchong Yu <kroisse@gmail.com>
@@ -10,4 +11,5 @@ Jisoo Park <xxxyel@gmail.com>
1011
John Nagle <nagle@sitetruth.com>
1112
Ken Tossell <ken@tossell.net>
1213
Steve Klabnik <steve@steveklabnik.com>
14+
Tom Gallacher <tomgallacher23@gmail.com>
1315
klutzy <klutzytheklutzy@gmail.com>

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@ Chrono obeys the principle of [Semantic Versioning](http://semver.org/).
88
There were/are numerous minor versions before 1.0 due to the language changes.
99
Versions with only mechnical changes will be omitted from the following list.
1010

11+
## 0.2.16 (2015-09-06)
12+
13+
### Added
14+
15+
- Added `%.3f`, `%.6f` and `%.9f` specifier for formatting fractional seconds
16+
up to 3, 6 or 9 decimal digits. This is a natural extension to the existing `%f`.
17+
Note that this is (not yet) generic, no other value of precision is supported. (#45)
18+
19+
### Changed
20+
21+
- Forbade unsized types from implementing `Datelike` and `Timelike`.
22+
This does not make a big harm as any type implementing them should be already sized
23+
to be practical, but this change still can break highly generic codes. (#46)
24+
25+
### Fixed
26+
27+
- Fixed a broken link in the `README.md`. (#41)
28+
1129
## 0.2.15 (2015-07-05)
1230

1331
### Added

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "chrono"
3-
version = "0.2.15"
3+
version = "0.2.16"
44
authors = ["Kang Seonghoon <public+rust@mearie.org>"]
55

66
description = "Date and time library for Rust"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[Chrono][doc] 0.2.15
1+
[Chrono][doc] 0.2.16
22
====================
33

44
[![Chrono on Travis CI][travis-image]][travis]

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
/*!
66
7-
# Chrono 0.2.15
7+
# Chrono 0.2.16
88
99
Date and time handling for Rust. (also known as `rust-chrono`)
1010
It aims to be a feature-complete superset of the [time](https://github.com/rust-lang/time) library.

0 commit comments

Comments
 (0)