You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2014/10/13 18:38:27 UTC
git commit: [CB-7766] Add quirk note about android dateToString
Repository: cordova-plugin-globalization
Updated Branches:
refs/heads/master 7a8dc01c9 -> 72d5b2a3d
[CB-7766] Add quirk note about android dateToString
A note to clarify, that the value obtained using dateToString uses the
UTS#35 and is not completely aligned with ICU standard.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/commit/72d5b2a3
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/tree/72d5b2a3
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/diff/72d5b2a3
Branch: refs/heads/master
Commit: 72d5b2a3d8705fc0d5136b8285b87c5a1551259b
Parents: 7a8dc01
Author: Martin Gonzalez <ma...@gmail.com>
Authored: Fri Oct 10 17:01:40 2014 -0500
Committer: Marcel Kinard <cm...@gmail.com>
Committed: Mon Oct 13 12:37:37 2014 -0400
----------------------------------------------------------------------
doc/index.md | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-globalization/blob/72d5b2a3/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 57cbb59..c588994 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -195,6 +195,14 @@ options:
function () { alert('Error getting dateString\n'); },
{ formatLength: 'short', selector: 'date and time' }
);
+### Android Quirks
+- `formatLength` options are a subset of Unicode
+ [UTS #35](http://unicode.org/reports/tr35/tr35-4.html). The default option
+ `short` depends on a user selected date format within
+ `Settings -> System -> Date & time -> Choose date format`,
+ which provide a `year` pattern only with 4 digits, not 2 digits.
+ This means that it is not completely aligned with
+ [ICU](http://demo.icu-project.org/icu-bin/locexp?d_=en_US&_=en_US).
### Windows Phone 8 Quirks
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org