currently, Yii's date/time localization functionalities is just a formatter in a locale-sensitive manner.
it would be nice to add locale specific calendars, any calendar supported by ICU (e.g. gregorian, persian, islamic, ...).
as IntlDateFormatter is out there as part of php 5.3+, I thing it's easy to integrate Yii's date/time localization with it.
this post is reentered because it's so important for internationalization and yii should be consider new php feature in the next major release.
so some one give a clear explanation to us about this in the Yii 2.0
Page 1 of 1
intl functionality
#2
Posted 27 July 2012 - 05:09 AM
+1
It would be great if the following extension workarounds would become unnecessary:
http://www.yiiframew...tetime-behavior
http://www.yiiframew...mali18nbehavior
It would be great if the following extension workarounds would become unnecessary:
http://www.yiiframew...tetime-behavior
http://www.yiiframew...mali18nbehavior
#3
Posted 28 July 2012 - 08:02 PM
yiim, on 27 July 2012 - 05:09 AM, said:
+1
It would be great if the following extension workarounds would become unnecessary:
http://www.yiiframew...tetime-behavior
http://www.yiiframew...mali18nbehavior
It would be great if the following extension workarounds would become unnecessary:
http://www.yiiframew...tetime-behavior
http://www.yiiframew...mali18nbehavior
I fully support this notion!
#5
Posted 01 August 2012 - 03:01 AM
New Wiki article regarding "Custom Number Formatting or Decimal Separators and i18n":
http://www.yiiframew...ators-and-i18n/
http://www.yiiframew...ators-and-i18n/
#6
Posted 27 August 2012 - 10:44 AM
php's intl extension has been included in the standard download for a long time. intl is interfaces to ICU. and ICU is the balls. Yii is the balls too so YiiII should use ICU via intl.
Join the happiest place on Freenode: #yii
We've got a YiiBot and all kinds of other groovy stuff going on.
Comparison of Internet Relay Chat clients
Web IRC client
We've got a YiiBot and all kinds of other groovy stuff going on.
Comparison of Internet Relay Chat clients
Web IRC client
Share this topic:
Page 1 of 1

Help

This topic is locked











