Closed
Bug 9229
Opened 25 years ago
Closed 25 years ago
Add PRTime supports to date format interface
Categories
(MailNews Core :: Internationalization, defect, P3)
MailNews Core
Internationalization
Tracking
(Not tracked)
VERIFIED
FIXED
M9
People
(Reporter: nhottanscp, Assigned: nhottanscp)
Details
// performs a locale sensitive date formatting operation on the PRTime parameter NS_IMETHOD FormatPRTime(nsILocale* locale, const nsDateFormatSelector dateFormatSelector, const nsTimeFormatSelector timeFormatSelector, const PRTime prTime, nsString& stringOut) = 0; // performs a locale sensitive date formatting operation on the PRExplodedTime parameter NS_IMETHOD FormatPRExplodedTime(nsILocale* locale, const nsDateFormatSelector dateFormatSelector, const nsTimeFormatSelector timeFormatSelector, const PRExplodedTime* explodedTime, nsString& stringOut) = 0;
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
QA Contact: momoi → nhotta
Target Milestone: M9
Assignee | ||
Comment 1•25 years ago
|
||
M9, needed by mailnews.
Comment 2•25 years ago
|
||
Thanks Nahoki. Until the new functions are implemented, mailnews wont use it as well the other one that use time_t or tm for displaying the date in the message thread. Therefore the date might be always displayed in english.
Comment 3•25 years ago
|
||
Added momoi@netscape.com & marina@netscape.com to the CC line.
Assignee | ||
Comment 4•25 years ago
|
||
Checked in new functions but still have a bug, not ready for the use yet.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 5•25 years ago
|
||
Fixed by today's check in. I tested FormatPRExplodedTime on Win32, Linux and Macintosh. FormatPRTime is not tested but it just calls FormatPRTime (let me know for any problem).
Updated•25 years ago
|
QA Contact: nhotta → momoi
Comment 6•25 years ago
|
||
I didn't realize that this had been fixed as QA was assigned to nhotta. I only have time to look at Windows-J behavior but it is working well on NT4-J. I need to look at Win98-US/J, WinNT-US, Mac and Unix later. Will do this after M9. Changing QA contact to momoi.
Assignee | ||
Comment 7•25 years ago
|
||
I have forgot about verifying this, sorry. There is a testing info about this. This PRTime support has no relation with locale. Testing date/time format in Latin1 languages (e.g. "en", "fr") should verify this bug. In other words, non Latin1 locale may not work depends on the testing platform (see #5561, the bug has just fixed but the client side change is also needed).
Comment 8•25 years ago
|
||
Thanks. It seems that date/time format is working on NT4. What I remember for M8 was that this was turned off even for NT4 and I wrote about it for M8 Release notes. I guess I can say for M9 that date/time formatting works for NT4? but not for Win9x or Macintosh?
Assignee | ||
Comment 9•25 years ago
|
||
>I guess I can say for M9 that >date/time formatting works for NT4? Yes, for all (installed) locales. >but not for Win9x or Macintosh? and Unix, works for Latin1 locales only.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 10•25 years ago
|
||
Based on prior discussions, marking the fix verified.
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•