Closed Bug 755224 Opened 12 years ago Closed 3 years ago

Absolute dates in download manager (about:downloads) are not localized (but in English)

Categories

(Core :: Internationalization, defect, P5)

ARM
Android
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: aryx, Unassigned)

References

Details

Fennec native 14.0b1 build 3, Android 4.0.4 (stock), Google Nexus S

The download manager (about:downloads) uses unlocalized, English dates if it has to display an absolute date.

Steps to reproduce:
0. Launch a localized Firefox mobile.
1. Download something.
2. Go to the system settings, disabled retrieving date and time from the carrier network, increase by 2 days.
3. Go back to Firefox mobile's download manager and reload it.

Actual result:
A weekday will be displayed, written in English.

If you increase the date by more than a week, the month name will be English.
Thiyag, maybe this is a bug you'd like to look into.
This bug should be a duplicate of bug 702895. Even in web sites like addons.mozilla.org, the date (month) is in English. (I thought I had seen such a bug already filed, but am unable to find it.)
Sure, Margeret, I will take a look a this.

Aryx, I am not sure if we should dupe this bug with bug 702895, since this is native/downloads while that is xul/preferences, it might be better to get it fixed independently I would think?
It seems likely that something in Android or retrieving data from Android is broken.

Both the desktop release version and the android version use DownloadUtils.getReadableDates, but the latter one displays an English string.
bionic libc doesn't support localized string by setlocale() well.  nsDateTimeFormatUnix should use Java wrapper and use Java API.
Component: General → Internationalization
Product: Firefox for Android → Core
Version: Firefox 14 → Trunk

localized downloads.properties isn't included in Fennec. If https://github.com/tc39/ecma402/issues/35 becomes standard of ECMA-402, this file is unnecessary. But this download page is Fennec only (not required for GV/Fenix etc), so this is P5.

Priority: -- → P5

Fennec is not an active project anymore. Reopen if needed.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.