diff options
author | James McCoy <jamessan@jamessan.com> | 2021-11-06 11:10:08 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2021-12-25 12:11:34 -0500 |
commit | fb14e2a8d6aacfb02578c2e191f26cfdf416bfde (patch) | |
tree | e43ebfdfd790bd103d68b6ad4747a4a12107de1d /runtime/lua/vim/uri.lua | |
parent | 9e93e5c0c8ea5bfe96f94e5c357d93f0315920e2 (diff) | |
download | rneovim-fb14e2a8d6aacfb02578c2e191f26cfdf416bfde.tar.gz rneovim-fb14e2a8d6aacfb02578c2e191f26cfdf416bfde.tar.bz2 rneovim-fb14e2a8d6aacfb02578c2e191f26cfdf416bfde.zip |
fix(msgpack#strptime): use calendar.timegm to get seconds since epoch
datetime.datetime.timestamp does not exist on Windows and
datetime.datetiem.strftime('%s') is not supported, since '%s' is a POSIX
format. Instead, use the recommended `calendar.timegm(obj.utctimetuple())`.
Diffstat (limited to 'runtime/lua/vim/uri.lua')
0 files changed, 0 insertions, 0 deletions