Posted 7 August 2023, 6:31 pm EST
I am having trouble getting dates to format. Is there some way to have a date passed in for a template and have it formatted. I can specify a format on the cell (in Excel), but the initial render does not format it. If I put the cell in edit mode, then tab off it formats correctly.
Background
I am using a Json datasource, which by default uses ISO8601 format. I have customized my json serializer to specify the following formant.
M/d/yyyy hh:mm:ss tt
Workaround
I have found a hack to workaround this. It involves binding the field in one cell and setting a custom format on it to
;;;
so it is hidden, then in another cell specify
=DATEVALUE(A1)
and placing a format on that
Placing hidden fields for every thing I need to format is a bit much. Hoping you can provide a better answer.