Commit graph

4 commits

Author SHA1 Message Date
Martin Hebnes Pedersen
bc9512e159 Add a couple of missing insertion Tags + docs
<Day>, <UDay>, <GPSLatitude> and <GPSLongitude>
2024-04-13 07:33:20 +02:00
Martin Hebnes Pedersen
c98746ed2a Customizable time.Now and location for testing 2024-04-13 07:33:20 +02:00
Martin Hebnes Pedersen
0f183d03d6 Fix incorrect time layout strings for UTC variants
The reference date is MST (seven hours west of GMT). This is a very
common mistake when constructing formatting strings to be used with
time.Format.

Since we converted all dates that includes zone information to UTC
*before* outputting in Z time, this bug did not affect the output
strings. But it's best to use the correct reference time anyway, in case
we later add a string representation including zone information that is
not UTC.
2023-10-16 13:55:02 +00:00
Martin Hebnes Pedersen
2f30d0f033 Refactor date parsing in forms and add tests 2023-10-16 13:55:02 +00:00