Skip to content

fix(test): relax locale-dependent assertion in format_time test - #313

Merged
sudo-tee merged 1 commit into
sudo-tee:mainfrom
jensenojs:fix/format-time-locale
Mar 10, 2026
Merged

fix(test): relax locale-dependent assertion in format_time test#313
sudo-tee merged 1 commit into
sudo-tee:mainfrom
jensenojs:fix/format-time-locale

Conversation

@jensenojs

Copy link
Copy Markdown
Collaborator

Remove hardcoded colon check that fails on non-English locales where os.date('%X') returns formats like '15时30分' instead of '15:30:00'.

Remove hardcoded colon check that fails on non-English locales
where os.date('%X') returns formats like '15时30分' instead of
'15:30:00'.
@sudo-tee
sudo-tee merged commit 0167180 into sudo-tee:main Mar 10, 2026
5 checks passed
@jensenojs
jensenojs deleted the fix/format-time-locale branch March 10, 2026 13:34
disrupted pushed a commit to disrupted/opencode-native.nvim that referenced this pull request Jul 23, 2026
…-tee#313)

Remove hardcoded colon check that fails on non-English locales
where os.date('%X') returns formats like '15时30分' instead of
'15:30:00'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants