Closed Bug 10350 Opened 25 years ago Closed 25 years ago

Inconsistent Date format in the Date colunm

Categories

(MailNews Core :: Backend, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: fenella, Assigned: mozilla)

Details

linux, Win_nt 4.0 and Mac (1999-07-22-08 m9) 1. Prefs50.js contains 1 pop, 1imap and 1 news server 2. From the Messenger, click Inbox to open the Inbox folder 3. Notice that the Date column - date format are inconsistent on all 3 platforms. Win_nt4.0 --------------------------- 07/15/99 11:28:17 Linux --------------------------- Thu Jul 15 11:28:17, 1999 Mac --------------------------- Thursday 15 July 1999
Assignee: putterman → rjc
reassigning to rjc
Wouldn't the date format be what is set up on each platform? For example, on Windows, you can specify your date format in the control panel.
It isn't right now. I think the nsDateTimeFormat code in I18N will handle that if it doesn't already.
Fixed. Now using nsIFormatDateTime::FormatPRTime()
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
And if it doesn't, it probably should. cc'ing nhotta.
The interface is using the format specified by the user (in control panel in case of Windows and Macintosh). The user can customize the format so we cannot be consistent cross platform. I saw kDateFormatLong was used in rjc's check in. So we expected to see something like "Thursday, July 22". kDateFormatShort would generate like "7/22/99".
Naoki, One more question before I verify this bug. In the Date column, for mails that is older than the current week, are we expected to see the short format (kDateFormatShort) or the long format (kDateFormatLong). Would the Date format be exactly like Nova 4.7?
I am back from vacation. Regarding the last question, that's an issue of the client of this interface (i.e. Messenger). Scott, do we expect to support the same format as 4.x?
I'm not sure which format we're supporting. I imagine it'll be similar to the old one where we do 8/2/99 12:00pm. I hope we do this for all dates and don't try to do a different format for messages within the last week.
Status: RESOLVED → VERIFIED
Linux and Mac (1999-08-16-08 M9) Win32 (1999-08-16-09 M9) The date format in the Date column is consistent on all three platforms.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.