Closed
Bug 132669
Opened 23 years ago
Closed 23 years ago
Date/time format is not following the system language format
Categories
(SeaMonkey :: Composer, defect)
SeaMonkey
Composer
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: amyy, Assigned: cmanske)
References
Details
(Keywords: intl, Whiteboard: [adt2 RTM] [VERIFIED IN TRUNK and BRANCH],custrtm-)
Attachments
(2 files, 1 obsolete file)
126.80 KB,
image/jpeg
|
Details | |
2.09 KB,
patch
|
nhottanscp
:
review+
kinmoz
:
superreview+
jesup
:
approval+
|
Details | Diff | Splinter Review |
Build: 03-21 trunk build on Mac 10.1.3
Steps:
1. Launch browser and open Composer.
2. Open any local file or live web page.
3. Format | Page Title and Properties.
Notice the date/time format for Last Modified is in English. By checking the
system reginal setting, it shows following by the OS language locale. - see a
followed screen shot.
We have date/time show in some other places, e.g. Page Info, Expired date in
Cookie Manager...etc. They are all in OS language format.
But the data/time string here is a little bit different than those strings though.
Windows has similar problem too, but windows system date/time format seems
doesn't has the weekly name option.
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 3•23 years ago
|
||
No, like I said before, windows has same problem. Linux has a core bug 132665,
so can not verify right now.
OS: MacOS X → All
QA Contact: ruixu → kasumi
Hardware: Macintosh → All
No matter with OS nor regional setting, expression is the same as attachment.
Comment 5•23 years ago
|
||
I think the editor code needs to use nsIDateTimeFormat.
Change component to Editor Composer and reassign.
Assignee: yokoyama → syd
Component: Internationalization → Editor: Composer
QA -> sujay@netscape.com (Editor:Composer default)
QA Contact: kasumi → sujay
Reporter | ||
Updated•23 years ago
|
Summary: Date/time format is not following the system format → Date/time format is not following the system language format
--> cmanske
Comment 8•23 years ago
|
||
I have a patch for this. will be attached later.
Comment 9•23 years ago
|
||
cmanske, could you r= this one ?
Assignee | ||
Updated•23 years ago
|
Attachment #79511 -
Flags: review+
Assignee | ||
Comment 10•23 years ago
|
||
Comment on attachment 79511 [details] [diff] [review]
patch to fxi this problem
r=cmanske
I am unfamiliar with this interface, but it looks logical enough!
One question: why do you use "lastModDate.getMonth()+1"
Comment 11•23 years ago
|
||
getMonth() returns number 0 to 11 while the date format interface expects 1 to
12 numbers.
Updated•23 years ago
|
Whiteboard: [adt3] → [adt3], patch need sr=
Comment 12•23 years ago
|
||
Comment on attachment 79511 [details] [diff] [review]
patch to fxi this problem
Do we really need a global for this
+var gDateService = null;
if it's only used in the startup method of this modal dialog?
Also, since the date code execution is conditional, I'd prefer that we didn't
load the service unless we had to, so the code that gets the service should
probably move under the |if(Date.parse(lastmod))| block.
Assignee | ||
Comment 13•23 years ago
|
||
Changes per Kin's comments. Also thought a try/catch was a good idea.
Attachment #79511 -
Attachment is obsolete: true
Comment 14•23 years ago
|
||
Comment on attachment 80439 [details] [diff] [review]
patch v2
r=nhotta
Attachment #80439 -
Flags: review+
Comment 15•23 years ago
|
||
Attachment #80439 -
Flags: superreview+
Assignee | ||
Comment 16•23 years ago
|
||
checked in
Comment 17•23 years ago
|
||
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt. If you have any
questions about this, please email adt@netscape.com. You can search for
"changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1-
Comment 18•23 years ago
|
||
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt. If you have any
questions about this, please email adt@netscape.com. You can search for
"changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1+
Assignee | ||
Comment 19•23 years ago
|
||
Checked into trunk.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: [adt3], patch need sr= → [adt3] [FIX IN TRUNK]
Reporter | ||
Comment 20•23 years ago
|
||
Verified fixed on 04-24 trunk build / Mac10.1.3.
Comment 21•23 years ago
|
||
ylong please also test on windows if you get chance...
then you can mark this one verified-fixed...thanks!
Reporter | ||
Comment 22•23 years ago
|
||
Verified it has been fixed on windows too. (can not verify it on linux because
blocked by bug 132665)
I'm marking it as verified now. But is there any chance we can get this
check-into branch?
Status: RESOLVED → VERIFIED
Whiteboard: [adt3] [FIX IN TRUNK] → [adt3] [VERIFIED IN TRUNK]
Comment 23•23 years ago
|
||
Upping impact to [adt2 RTM]/nsbeta1+ as this is important to non-US english users.
Comment 24•23 years ago
|
||
adding adt1.0.0+. Please get drivers approval and then check into the Mozilla
1.0 branch.
Comment 25•23 years ago
|
||
when landed, please add fixed1.0.0 keyword
Whiteboard: [adt2 RTM] [VERIFIED IN TRUNK] [Needs a=] → [adt2 RTM] [VERIFIED IN TRUNK] [Needs a=],custrtm-
Comment 26•23 years ago
|
||
changing to adt1.0.1+ for checkin to the 1.0 branch. Please get drivers
approval before checking in.
Updated•23 years ago
|
Keywords: mozilla1.0.1
Comment 27•23 years ago
|
||
Comment on attachment 80439 [details] [diff] [review]
patch v2
please check into the 1.0.1 branch ASAP. once landed remove the
mozilla1.0.1+ keyword and add the fixed1.0.1 keyword
Attachment #80439 -
Flags: approval+
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.0.1
Assignee | ||
Comment 28•23 years ago
|
||
checked into MOZILLA_1_0_BRANCH.
Keywords: mozilla1.0.1+ → fixed1.0.1
Comment 29•23 years ago
|
||
yuying can you also verify on the latest branch please? thanks!
Reporter | ||
Comment 30•23 years ago
|
||
Verified on 06-03 branch build on Mac OS X and WinXP-SC.
Keywords: fixed1.0.1 → verified1.0.1
Assignee | ||
Updated•23 years ago
|
Whiteboard: [adt2 RTM] [VERIFIED IN TRUNK] [Needs a=],custrtm- → [adt2 RTM] [VERIFIED IN TRUNK],custrtm-
Updated•23 years ago
|
Assignee | ||
Updated•23 years ago
|
Whiteboard: [adt2 RTM] [VERIFIED IN TRUNK],custrtm- → [adt2 RTM] [VERIFIED IN TRUNK and BRANCH],custrtm-
Updated•22 years ago
|
Blocks: dateandtime
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•