没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > iLib |
|
iLib
|
| 1 | 0 | 181 |
| 贡献者 | 讨论 | 代码提交 |
With the advent of AJAX, it is no longer possible to avoid i18n in Javascript. Previously, you could format dates in the user's locale on the server side and send the correctly-formatted date across to the browser in the HTML. Now, you can call web services via AJAX that give you results such as time stamps in unix time. The formatting has to be done in the browser, and the standard Javascript library is inadequate to format it flexibly in any given locale. Enter iLib. Now you can do the formatting properly, right in the browser. It's not even difficult or slow! Date formatting is not all that iLib can do. It can also handle times, numbers, currency, percentages, time zones, calendars and date conversions, translations, string formatting, and much more.
标签:
