]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0776: test_strftime may fail because of missing TZ data v9.1.0776
authorJames McCoy <jamessan@jamessan.com>
Sat, 12 Oct 2024 09:36:58 +0000 (11:36 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 12 Oct 2024 09:36:58 +0000 (11:36 +0200)
commitea997edc7aaa5bc1d645b57b6700e0b30c07acbd
tree12bde12ea4c4de60453da46aee114596cf96d172
parent59086a25c4a724c13447aa421c993e5441a628f6
patch 9.1.0776: test_strftime may fail because of missing TZ data

Problem:  test_strftime may fail because of missing TZ data
Solution: Use GMT offsets to validate timezone differences (James McCoy)

Some systems only provide timezones that follow the geographical region
naming (e.g. America/New_York) by default and require an additional
install for other names (like EST).

The GMT+<offset> format must always be honored, so use that to generate
distinct data for the test.

closes: #15848

Signed-off-by: James McCoy <jamessan@jamessan.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_functions.vim
src/version.c