TwitterCldr npm package.
Installation is easy with npm:
npm install twitter_cldr
var TwitterCldr = require('twitter_cldr').load('en');
var formatter = new TwitterCldr.DateTimeFormatter();
formatter.format(new Date(), {"type": "full"});
See usage documentation for twitter-cldr-js.
- None.
See twitter-cldr-js for test suite.
- Cameron Dutro: http://twitter.com/camertron
- Kirill Lashuk: http://twitter.com/kl7
- twitter-cldr-rb - Ruby version
- twitter-cldr-js - JavaScript library for Ruby on Rails
- CLDR Homepage - Where all the data comes from
- ICU Homepage - IBM's C++/Java internationalization library that TwitterCLDR is based on
Copyright 2019 Twitter, Inc.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0