aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/plugins__47__relativedate_depends_on_locale_at_setup_file.mdwn
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawmPD3Qj5IoazkkW6Tk-kLOlKGmJLXim0H0 <https://www.google.com/accounts/o8/id?id=AItOawmPD3Qj5IoazkkW6Tk-kLOlKGmJLXim0H0@web>2010-06-07 03:39:14 +0000
committerJoey Hess <joey@finch.kitenet.net>2010-06-07 03:39:14 +0000
commit75cae954cf4c244d9f7a8c5c9ef20d57fee10a2f (patch)
treef952e7580e3e52eafaef98ca8b0e3a37fc398962 /doc/bugs/plugins__47__relativedate_depends_on_locale_at_setup_file.mdwn
parentf0f4073a17cf8a860cf7b04a2157a89e72ae0be2 (diff)
downloadikiwiki-75cae954cf4c244d9f7a8c5c9ef20d57fee10a2f.tar
ikiwiki-75cae954cf4c244d9f7a8c5c9ef20d57fee10a2f.tar.gz
Add note about date formating
Diffstat (limited to 'doc/bugs/plugins__47__relativedate_depends_on_locale_at_setup_file.mdwn')
-rw-r--r--doc/bugs/plugins__47__relativedate_depends_on_locale_at_setup_file.mdwn2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bugs/plugins__47__relativedate_depends_on_locale_at_setup_file.mdwn b/doc/bugs/plugins__47__relativedate_depends_on_locale_at_setup_file.mdwn
index 1f4dc8e2d..db009fa19 100644
--- a/doc/bugs/plugins__47__relativedate_depends_on_locale_at_setup_file.mdwn
+++ b/doc/bugs/plugins__47__relativedate_depends_on_locale_at_setup_file.mdwn
@@ -1,3 +1,5 @@
[[plugins/relativedate]] does not works when russian locale defined at setup file (locale => 'ru_RU.UTF-8'). This is happen because javascript for this plugin takes either elements title or content itself. If russian locale is turned on then title generated on russian language and JS can't convert it into Date object. innerHTML is language independent (YYYY-MM-DD HH:mm) always.
If I switch locale to en_US.UTF-8 then this plugin correctly parses text date and print relative date. But when I mouseover on date I see unusual formating of the date (it uses AM/PM format while russians use 24-h notation).
+
+P.S. All pages but RecentChanges show well-formated date. RecentChanges show date formated using locale. Anyway, plugin does not work without en_US locale.