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.
This commit is contained in:
Kang Seonghoon 2015-09-06 21:46:03 +09:00
parent acf4eab102
commit ed3727931f
5 changed files with 23 additions and 3 deletions

View File

@ -2,6 +2,7 @@ Chrono is mainly written by Kang Seonghoon <public+rust@mearie.org>,
and also the following people (in ascending order):
Colin Ray <r.colinray@gmail.com>
Corey Farwell <coreyf@rwell.org>
Dan <dan@ebip.co.uk>
David Ross <daboross@daboross.net>
Eunchong Yu <kroisse@gmail.com>
@ -10,4 +11,5 @@ Jisoo Park <xxxyel@gmail.com>
John Nagle <nagle@sitetruth.com>
Ken Tossell <ken@tossell.net>
Steve Klabnik <steve@steveklabnik.com>
Tom Gallacher <tomgallacher23@gmail.com>
klutzy <klutzytheklutzy@gmail.com>

View File

@ -8,6 +8,24 @@ Chrono obeys the principle of [Semantic Versioning](http://semver.org/).
There were/are numerous minor versions before 1.0 due to the language changes.
Versions with only mechnical changes will be omitted from the following list.
## 0.2.16 (2015-09-06)
### Added
- 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)
### Changed
- 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
- Fixed a broken link in the `README.md`. (#41)
## 0.2.15 (2015-07-05)
### Added

View File

@ -1,6 +1,6 @@
[package]
name = "chrono"
version = "0.2.15"
version = "0.2.16"
authors = ["Kang Seonghoon <public+rust@mearie.org>"]
description = "Date and time library for Rust"

View File

@ -1,4 +1,4 @@
[Chrono][doc] 0.2.15
[Chrono][doc] 0.2.16
====================
[![Chrono on Travis CI][travis-image]][travis]

View File

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