aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorVlad <52591095+MeanderingProgrammer@users.noreply.github.com>2025-10-10 23:03:02 -0700
committerGitHub <noreply@github.com>2025-10-11 06:03:02 +0000
commitf0b9232ad80804d85395130c54f1b8f671582c2c (patch)
tree3567f9110d4a94609edb7e8f39e1e2bd01a730d3 /test/functional/vimscript/executable_spec.lua
parentf40672be99356d453fba6e2b4239c1876cd1b9dd (diff)
downloadrneovim-f0b9232ad80804d85395130c54f1b8f671582c2c.tar.gz
rneovim-f0b9232ad80804d85395130c54f1b8f671582c2c.tar.bz2
rneovim-f0b9232ad80804d85395130c54f1b8f671582c2c.zip
test(plugin/shada_spec): always use UTC formatted date (#36128)
Problem Similar to https://github.com/neovim/neovim/pull/33257, but for the date component. When timezone is behind UTC the epoch date of individual components mismatch causing the test to fail. Solution The `epoch` variable is created using `os.date` with a `!`, which means format the date in UTC instead of local timezone: https://www.lua.org/manual/5.1/manual.html#pdf-os.date. Since the individual components like year, month, and day are expected to match `epoch` they should all be created using a `!` as well.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions