Currently, there is only one predefined
TimeFormat for parsing the option
--time in restic, which is not flexible enough in my opinion.
It cannot store nanoseconds, and timezone (currently UTC).
How about trying to parse the time string with a subset of Golang predefined time-format as well as the current one and accepting a reference file?