Open fayazv opened 9 years ago
Is your issue_date
really a JavaScript Date
object?
I'm using _created
instead of issue_date
and the format it's stored in mongo is similar to date_recorded
in TaarifaWaterpoints
@kynan, @dgorissen any suggestions on this?
I would double check you fullfill the requirements:
Date to format either as Date object, milliseconds (string or number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.sssZ and its shorter versions like yyyy-MM-ddTHH:mmZ, yyyy-MM-dd or yyyyMMddTHHmmssZ). If no timezone is specified in the string input, the time is considered to be in the local timezone.
Currently the date format is:
I want it to look like below in the front-end:
I have tried the following:
The result is the same. How do I change the date format?