votingworks / bmd

GNU General Public License v3.0
13 stars 7 forks source link

Format ISO election date correctly #1466

Closed eventualbuddha closed 3 years ago

eventualbuddha commented 4 years ago

Expected Behavior

The latest election definition format requires the election date be an ISO-8601 timestamp. Previously it was just a string to display, so now BMD shows the ISO timestamp literally. It should be formatted correctly.

Actual Behavior

image

Steps to Reproduce the Actual Behavior

  1. Load an election definition with an ISO-8601 timestamp for the date: "date": "2020-11-03T00:00:00-08:00",
  2. View the footer election information with the seal and title, note the literal ISO date.

Environment

n/a