Closed
Bug 434482
Opened 16 years ago
Closed 16 years ago
Parse time zoon offset as decimal
Categories
(Mozilla Labs :: Operator, defect)
Mozilla Labs
Operator
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: takenspc, Assigned: takenspc)
Details
Attachments
(1 file)
3.77 KB,
patch
|
mkaply
:
review+
|
Details | Diff | Splinter Review |
Some JavaScript file of "SemanticActions" parse time zone offset (and some other numbers) with |parseInt(foo)| like below:
> parseInt(hcalendar.dtend.substr(tzpos+1, 2), 10);
When the time zone offset hour is "08" or "09", it was parsed as 0 instead of 8 or 9.
# It was treated as an octal numeral.
We should use |parseInt(foo, 10)| instead of |parseInt(foo)|.
Attachment #321581 -
Flags: review?(mozilla)
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Comment 1•16 years ago
|
||
Comment on attachment 321581 [details] [diff] [review] Patch rv. 1.0 Thank you for this patch. It will be in the next Operator
Attachment #321581 -
Flags: review?(mozilla) → review+
Comment 2•16 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•