mirror of
https://github.com/neovim/neovim.git
synced 2026-01-07 03:48:02 +10:00
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())`.
(cherry picked from commit fb14e2a8d6)