James McCoy
fb14e2a8d6
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())`.
2021-12-25 12:11:34 -05:00
ZyX
b728aad212
runtime/msgpack: Fix inf/nan regexp
...
Not making minus sign optional as inf/nan without optional minus should’ve
already been handled by the very first case.
2018-09-06 02:12:36 +03:00
Justin M. Keyes
966e7abc49
msgpack.vim: require python3 on Windows
...
timestamp.strftime('%s') workaround only works on unix.
ref: https://github.com/neovim/neovim/pull/8371#discussion_r186311766
2018-05-10 15:56:13 +02:00
Justin M. Keyes
33bfea31b0
msgpack.vim: fix syntax errors, python2 errors
2018-05-09 23:18:38 +02:00
ZyX
d82f5d1ba2
plugin/msgpack: Support character constants like '\0'
2017-01-04 14:53:02 +03:00
ZyX
6e5498c3e3
runtime/msgpack: Add support for special values
2016-04-18 02:44:03 +03:00
ZyX
18d1ba3422
runtime/msgpack: Fix msgpack#string that expects old string() behavior
2016-02-02 00:54:00 +03:00
ZyX
00a638179d
runtime: Add autoload/msgpack.vim helper file
2015-11-01 21:27:27 +03:00