On Mon, 14 Dec 2020, Colin Watson wrote:
On Mon, Dec 14, 2020 at 02:12:28PM +1100, G. Branden Robinson wrote:
At 2020-12-12T21:19:38-0800, Jim Avera wrote:
I suspect groff is always in UTC (but haven't confirmed).
No, that is not true, at least not in groff as provided by GNU. A
downstream distributor, like a GNU/Linux distribution, could alter this.
I just ran:
.S 14 16
.SP 5
.tm \n[year]-\n[mo]-\n[dy] \n[hours]:\n[minutes]:\n[seconds]
.SP 4
.tm \*(DT
through
groff -mm
The output to the terminal is
2020-12-15 6:33:37
December 15, 2020
Including daylight saving, my timesone is 11 hours in front of UTC. The
time in UTC would have been 7:33pm on December 14th.
My groff was a standard build from source. The groff provided for CentOS
yields the same output.
So, (at least my) groff and that available on CentOS is not in UTC. It is
most definitely local.
Regards - Damian