tests: Fix test FormatDateTime
with invalid formats on macOS/*BSD
#1305
Loading
FormatDateTime
with invalid formats on macOS/*BSD
#1305