Repository navigation
fix: 简体中文下提交详情的时区与时间之间留出空格 - #91
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
简体中文的系统日期格式把时区与时间连写,提交详情头部的日期显示成 “2026年11月13日 GMT-808:05:00”,读起来像时区是 GMT-808。头部的日期改为在时区与时间之间留一个空格。
改动
验证
mise run swift:lint、mise run build与mise run test通过,三个测试目标共 848 个测试;CommitDetailHeaderTests增加了简体中文的核对mise run test第一次运行时MainMenuTests的 “主菜单的分组、快捷键与动作” 失败一次:Window 菜单开头多出并行运行的另一个测试建的窗口项spooky-accessibility-…;与本改动无关,重跑通过zh_CN、zh_SG与zh-Hans_US多出空格,其余 14 个语言区域(含en_US、en_GB、zh_TW、zh_HK、ja_JP、ko_KR、de_DE、fr_FR、es_ES)修改前后一致zh_CN区域格式):