Sha256: c6ebefce6155f3bf2f4084ea1f17cc537f7c6e08ab1695b11693c95f85389f35
Contents?: true
Size: 563 Bytes
Versions: 1
Compression:
Stored size: 563 Bytes
Contents
// Copyright 2012 Twitter, Inc // http://www.apache.org/licenses/LICENSE-2.0 var TwitterCldr = require('../../../lib/assets/javascripts/twitter_cldr/ru.js'); describe("DateTimeFormatter", function() { beforeEach(function() { formatter = new TwitterCldr.DateTimeFormatter(); }); describe("#format", function() { it("correctly formats Russian additional formats", function() { date = new Date(2012, 1, 1); expect(formatter.format(date, {format: "additional", type: "GyMMMd"})).toEqual("1 февр. 2012 г. н. э."); }); }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
twitter_cldr_js-2.4.0 | spec/js/calendars/datetime.ru.spec.js |