Closed Bug 1216146 Opened 10 years ago Closed 8 years ago

Consider changing dateset.date to a timestamp

Categories

(Firefox OS Graveyard :: Gaia::Calendar, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jandem, Unassigned)

References

Details

See discussion in bug 1187233. (In reply to Jeff Walden [:Waldo] (remove +bmo to email) from bug 1187233 comment #20) > and |currentDate.dataset.date| looks > like a |data-date="..."| attribute on an element with id 'event-list-date' > in the Gaia frontend code. Or I guess something set by JS, as well -- > namely, here: > https://github.com/mozilla-b2g/gaia/blob/92ce25e46faf3d3c66aa884759ff84ede039f71d/apps/calendar/js/views/month_day_agenda.js#L80 The currentDate.dateset.date value is the output of something like dateObject.toString(). Suggestion is to change this value to a timestamp or something, to avoid relying on string parsing (slow and may rely on implementation details).
See Also: → 1187233
Blocks: 1272536
No longer blocks: 1272536
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.