This commit is contained in:
Sami Samhuri 2016-12-28 12:21:09 -08:00
parent 0fd891c2ab
commit 793ecfb7b4
5 changed files with 27 additions and 4 deletions

View file

@ -1,6 +1,29 @@
v0.10.0 on 2016-12-28
---------------------
- Remove the old API deprecated in v0.9.
- Bundle some locales that you can use with `strftime.localizedByIdentifier('nl_NL')`. Full list available in the [readme](https://github.com/samsonjs/strftime/blob/master/Readme.md).
Thanks to [Andrew Pirondini](https://github.com/andrewjpiro) of [iFixit](https://ifixit.com)
- Add instructions to install with Yarn.
Thanks to [Ayman Nedjmeddine](https://github.com/IOAyman)
- Unrecognized format specifiers preserve the % sign, e.g. `strftime('%K') => "%K"`.
Thanks to [Kevin Jin](https://github.com/Kevin-Jin)
- Make `strftime` work with dates that have been extended by [DateJS](http://www.datejs.com).
Thanks to [Stian Grytøyr](https://github.com/stiang)
- Add instructions to install with Yarn.
Thanks to [Ayman Nedjmeddine](https://github.com/IOAyman)
- Fix UTC formatting of dates that cross a DST boundary.
Thanks to [ray007](https://github.com/ray007)
- Allow localizing ordinals.
Thanks to [Simon Liétar](https://github.com/Sim9760)
v0.9.2 on 2015-05-29
--------------------

View file

@ -3,7 +3,7 @@ strftime
strftime for JavaScript. Works in (at least) node.js and browsers. Supports localization and timezones. Most standard specifiers from C are supported as well as some other extensions from Ruby.
[![version 0.9.2 on npm](https://img.shields.io/badge/npm-0.9.2-brightgreen.svg?style=flat)](https://www.npmjs.com/package/strftime) [![node version 0.2 and up](https://img.shields.io/badge/node->=0.2-brightgreen.svg?style=flat)](https://nodejs.org) [![MIT License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](https://sjs.mit-license.org)
[![version 0.10.0 on npm](https://img.shields.io/badge/npm-0.10.0-brightgreen.svg?style=flat)](https://www.npmjs.com/package/strftime) [![node version 0.2 and up](https://img.shields.io/badge/node->=0.2-brightgreen.svg?style=flat)](https://nodejs.org) [![MIT License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](https://sjs.mit-license.org)
Installation
============

View file

@ -1,6 +1,6 @@
{
"name": "strftime",
"version": "0.9.2",
"version": "0.10.0",
"main": "strftime.js",
"ignore": [
"Readme.md",

View file

@ -3,7 +3,7 @@
"repo": "samsonjs/strftime",
"description": "strftime date formatting",
"keywords": ["strftime", "format", "date", "time"],
"version": "0.9.2",
"version": "0.10.0",
"main": "strftime.js",
"scripts": ["strftime.js"]
}

View file

@ -1,7 +1,7 @@
{
"name": "strftime",
"description": "strftime for JavaScript",
"version": "0.9.2",
"version": "0.10.0",
"homepage": "http://samhuri.net/proj/strftime",
"author": "Sami Samhuri <sami@samhuri.net>",
"contributors": [