I guess this would work well for other bodies as well, like moons.
I work on display libraries for multiple projects including MSL, and the standard solution is to use "slow seconds" and force Mars days to be 24 hours.
I did ask moment.js how they might support Mars time and didn't get far.
Each lander mission so far has used its own time zone, corresponding to average local solar time at the landing location. Of the six successful Mars landers to date, five employed offsets from local mean solar time (LMST) for the lander site while the sixth (Mars Pathfinder) used local true solar time (LTST).
https://en.wikipedia.org/wiki/Timekeeping_on_Mars#Time_zones
There was a reason why modern C extended the identifier limit, you know.
So those time conversions need to be augmented to understand reference frames in the special case, or continuous reference transitions in the general case. I am sure it will be a gnu extension by 2020.
So when do codebases for `strftime()` functions get extended to deal with extraterrestrial timezones?