Closed
Bug 78474
Opened 25 years ago
Closed 24 years ago
Dates in ftp directory listing should use locale, not ISO 8601
Categories
(Core Graveyard :: Networking: FTP, defect)
Core Graveyard
Networking: FTP
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: Eric.Zurcher, Assigned: bbaetz)
References
()
Details
(Keywords: verifyme)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.8.1+) Gecko/20010430
BuildID: 2001043004
The ftp directory listing displays the date stamp of files and directories using
the American date convention (mm/dd/yy). This notation is very ambiguous, and is
not used in most other countries. It would be better to use the ISO 8601 based
notation: yyyy-mm-dd. (Or, perhaps better, determine the "locale" settings for
the current execution platform and environment, and use them.)
Note that ISO 8601 also uses a 24-hour clock, rather than am/pm for time
representation.
Reproducible: Always
Steps to Reproduce:
1.Go to any ftp:// URL
Actual Results: bin 0 10/30/99 12:00:00 am directory
Expected Results: bin 0 1999-10-30 00:00:00 directory
| Assignee | ||
Comment 1•25 years ago
|
||
The dates/times are also in GMT.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•25 years ago
|
Target Milestone: --- → mozilla1.0
| Assignee | ||
Comment 2•25 years ago
|
||
I have a fix to simply use the current application locale settings.
(As an aside, I note that en_AU doesn't include AM/PM, while en_US does)
Taking.
Assignee: dougt → bbaetz
OS: Windows NT → All
Hardware: PC → All
Target Milestone: mozilla1.0 → mozilla0.9.1
| Assignee | ||
Comment 4•25 years ago
|
||
pushing off - this is too late for 0.9.1
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Comment 6•25 years ago
|
||
benc: Probably.
The fix in that bug is not correct though (for ftp urls) and at this stage I
can't remember exactly which part of my patch fixed this. :(
| Assignee | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9.2 → mozilla1.0
Comment 7•24 years ago
|
||
Mass change: Bug 78148 has been checked in, and so it and these dependancies
should have been fixed. If you disagree, please reopen.
Note that the xul view is still enabled for file because of i18n problems. The
bug to fix this is bug 102812.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Not fixed in 0.9.7. Dates still come up in US format which is hard to parse for
non-USians.
Comment 10•24 years ago
|
||
This works for me. What is the output of running the 'locale' command?
Comment 11•24 years ago
|
||
Ah I see, you're using strftime("%x") output. This makes some sense, although I
still think users should be able to force ISO dates. But that's probably more in
the realm of the OS.
So I'm reasonably satisfied. Thanks!
Comment 12•24 years ago
|
||
I'll write some kind of testcase for this and put it into the ftp test case
re-write I have cooking.
Is there an ISO 8601 reference document I should read?
Comment 13•24 years ago
|
||
The genuine article costs:
http://www.iso.ch/iso/en/CatalogueDetailPage.CatalogueDetail?CSNUMBER=26780
There are good overviews of the standard on:
http://www.cl.cam.ac.uk/~mgk25/iso-time.html
and
http://www.mcs.vuw.ac.nz/technical/software/SGML/doc/iso8601/ISO8601.html
Comment 14•23 years ago
|
||
I'm looking at Mozilla 1.3a, Win98:
File: Welcome 1 KB 8/8/00 12:00:00 AM
Per #2, is getting ISO to work (as the summary says) a WONTFOX?
Keywords: verifyme
Comment 15•23 years ago
|
||
I've changed my local to display european style dates, and my ftp output is
still the same as described above. I know I did this correctly because my
mailnews dates are displayed that way.
Is it possible the new parser changed all this code?
Comment 16•23 years ago
|
||
VERIFIED/fixed.
I've been running my Windows laptop w/ England as the local for about 3
milestones now.
cc: dougt to make sure he is okay w/ the "we don't do ISO dates" update to the
summary.
Status: RESOLVED → VERIFIED
Summary: Dates in ftp directory listing should use ISO 8601 representation → Dates in ftp directory listing should use locale, not ISO 8601
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•