Review main Merged

59047[BUGFIX] Fix date generation in AdminPanel preview

Andreas Kienast CR +2 V +2 Easy +1 −1 updated 12/06/18, 15:50

Commit message

This patch fixes multiple issues when generating a date in AdminPanel's
preview module:

- The order of the date segements is changed to have a valid ISO format
- Months are 0-based in JavaScript (0 = January, 11 = December), for this
  reason, +1 is added to have a valid date string

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1