diff options
author | sqwishy <somebody@froghat.ca> | 2020-02-24 15:38:20 -0800 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-02-25 11:05:41 -0500 |
commit | 2fcd77f101003b65590f6ab103d0b633b219587b (patch) | |
tree | f64128ebc5e2dad493637fd832cba9ece32c2d48 /commands/history.go | |
parent | 5dd0f454c197ccbce369ee88d47d5be8cd5e8265 (diff) |
toLocal template function
Hi. This adds a template function to convert a time to the local time zone. And modifies
the default quoted_reply template to use it and show the time zone when formatting the
timestamp of the quoted message.
Previously, the quoted message timestamp was UTC and it would format it without the time
zone. And I thought it might be a little confusing or weird to some normal people when I
email them and I don't want normal people to be confused or think that I'm weird.
Diffstat (limited to 'commands/history.go')
0 files changed, 0 insertions, 0 deletions