fnando / i18n-js

It's a small library to provide the I18n translations on the Javascript. It comes with Rails support.
MIT License
3.77k stars 520 forks source link

Add %z to I18n.strftime to allow displaying the timezone offset #5

Closed ZenCocoon closed 15 years ago

ZenCocoon commented 15 years ago

http://github.com/ZenCocoon/i18n-js/tree/percentz

WARNING, to make sure all test pass, set your computer clock to Kathmandu timezone (UTC+0545)

Sébastien Grosjean - ZenCocoon

fnando commented 15 years ago

Thanks a lot for your commits!

Just changed one thing: I'm forcing the getTimezoneOffset function to always return "0545". We can't let broken tests pass conditionally! ;)