By default date.parse() will use the local timezone from the browers.
But, we want to force UTC, since users are from around the world.
Change-Id: I6430704f46c293e31804e6890eac1abcb955ad8a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
The current events extension is computing the statuses at build time,
which is getting incorrect when an event is outdated until there is
a rebuild. This change fix that by doing the event status computation
at load time in javascript.
Moreover this change removes an unused import in utils.
Change-Id: Ifd1b84ff0182cf9bb7950da3d59f36c83019ac30
This change modifies the timeline structure to describe a
start and end date instead of two different events.
Moreover this change adds:
* the number of days remaining until the next event.
* a 'next' status when current event haven't started yet
Change-Id: Ib76b0315a7409a8442c1be6f8341b0596c1d56ae
This changes add a new 'events' extensions to manage
events timeline. Events are described in the events.yaml file.
The 'events' extensions will generate an rst document with:
* Timer clock for upcoming event
* Tabulated events list
Change-Id: Ib5c9d96663bd2197beea7aab226a3d46bc82067c