When creating and editing a sighting, add a
sightingDate
property to the controller and
an input that is bound to that property. Use either a basic
text input or input[type="date"]
to
capture the sighting date. Convert the date to an ISO8601 string
using moment and set the sighting property
sightingAt
with that date string.
3.145.179.35