aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 3e7b4e0a..6132dbc6 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1179,6 +1179,11 @@ command PutDate
" in this case, for my date-printing mappings. Is there a nicer way to do
" this? I couldn't find one.
"
+" This presently seems to be broken in v8.1.1487; the timezone first chosen
+" seems to 'stick' permanently. I haven't worked out why yet. Using the new
+" getenv() and setenv() functions does not seem to fix it. It works fine in
+" Debian GNU/Linux's packaged v8.0.x.
+"
function! UTC(command) abort
let tz = expand('$TZ')
let $TZ = 'UTC'