10 Commits

Author SHA1 Message Date
c0df003ac0 merge from master 2016-06-11 20:16:28 +08:00
cd9caf65d2 20160611 2016-06-11 19:49:57 +08:00
13e014b7d9 yiichina 2016-03-02 18:50:50 +08:00
586684b050 2.0.5 bf7edc5 2015-07-30 09:52:33 +08:00
b31b9e2411 Fix conversion of ICU 'L' symbol.
L should not contain a leading zero.
Added a test for this too.

close #7761
2015-05-03 01:04:49 +02:00
65a2c54974 fixed unicode in FormatConverter escaping
fixes #7603
2015-03-06 16:01:05 +01:00
7a37c47bb2 Fixed #7150 - support ICU single quote syntaxes
- When converting an ICU date/time format to PHP, text within single quotes will be replaced with backslashes in front of each character (the PHP date() method for escaping text), and double-single quotes will be replaced with single quotes.
- When converting an ICU date/time format to jQuery UI, text  within single quotes, and double-single quotes, will each be preserved (rather than parsed for date/time format symbols), as jQuery UI uses the same text escaping and single quote syntax as ICU.
- Add support for '' within 'escaped text' E.g. 'o''clock'

close #7151
2015-03-01 00:02:35 +01:00
1468bd4d3d version 2.0.1 84b42ab 2014-12-22 16:33:27 +08:00
3ff548a442 Refactored DateValidator to support ICU format 2014-09-16 22:53:12 +02:00
be655d4f39 extracted date format converting to a helper class
adding and reworking the conversion of:
- ICU to PHP
- PHP to ICU
- ICU to JUI
- PHP to JUI
2014-09-16 19:48:52 +02:00