зеркало из https://github.com/mozilla/pjs.git
Bug 329654: calDateTimeFormatter always uses selfmade long formatted date string hack. patch by ssitter, r=mvl
This commit is contained in:
Родитель
551d8dd61e
Коммит
41d54c6f47
|
@ -58,6 +58,7 @@ function calDateTimeFormatter() {
|
|||
.createInstance(Components.interfaces.calIDateTime);
|
||||
probeDate.jsDate = new Date(2002,3,4);
|
||||
try {
|
||||
var probeString = this.formatDateShort(probeDate);
|
||||
var longProbeString = this.formatDateLong(probeDate);
|
||||
// On Unix extended/long date format may be created using %Ex instead
|
||||
// of %x. Some systems may not support it and return "Ex" or same as
|
||||
|
|
Загрузка…
Ссылка в новой задаче