Closed
Bug 493816
Opened 16 years ago
Closed 16 years ago
Timestamps need to be saved as string prefs
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
VERIFIED
FIXED
0.4
People
(Reporter: hello, Assigned: Mardak)
References
Details
The prefs API can't save fractional numbers. I filed bug 493815 but in the meantime we should probably cast timestamps to strings and back. Also note this might affect bug 488172.
Reporter | ||
Updated•16 years ago
|
Flags: blocking-weave1.0+
Target Milestone: -- → 0.4
Updated•16 years ago
|
Component: Weave → General
Flags: blocking-weave1.0+
Product: Mozilla Labs → Weave
Updated•16 years ago
|
QA Contact: weave → general
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → edilee
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•16 years ago
|
||
http://hg.mozilla.org/labs/weave/rev/8b0f32b1f8bc
Internally store .lastSync as a string but keep exposing set/getters as float values. parseFloat takes both strings and numbers and gives a number.
The server currently still gives "modified" values without 2 decimal precision, so I filed bug 498786.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Component: General → Sync
QA Contact: general → sync
Resolution: --- → FIXED
Updated•7 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•