about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc/keybindings.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-27T23·02+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-27T23·02+0100
commit34ec3104f77222164e3ef970c9834d149653b880 (patch)
tree2079bf11b9b2c090c16f16eab8f240e63670bc44 /emacs/.emacs.d/wpc/keybindings.el
parent1ad6c30accf44671e0257a71f8302d8c268e308d (diff)
Debug dottime in modeline
My modeline was displaying the local time (not UTC time) and appending the UTC
timezone offset, which was confusing me.

When it was `00:03` in London, my modeline would read `00:03+01`. One way of
interpreting this is that it's `00:03` in London and the `+01` is a reminder
that I'm one hour ahead of UTC. However, I was reading it as though it was
`00:03` UTC and thus `01:03` in London.

I had to set `display-time-string-forms` instead of `display-time-string` to
pass the `t` argument to the `ZONE` parameter to indicate that I'd prefer to use
UTC time and not local time when expanding the variables.
Diffstat (limited to 'emacs/.emacs.d/wpc/keybindings.el')
0 files changed, 0 insertions, 0 deletions