Consider changing dateset.date to a timestamp

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
3 years ago
7 months ago

People

(Reporter: jandem, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
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).
(Reporter)

Updated

3 years ago
See Also: → bug 1187233

Updated

2 years ago
Blocks: 1272536

Updated

2 years ago
No longer blocks: 1272536

Comment 1

7 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 7 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.