Skip to content

[1112] 移除 tm_locale 中的 get_date 包装#3816

Merged
da-liii merged 4 commits into
mainfrom
da/1114/pretty_time
Jun 25, 2026
Merged

[1112] 移除 tm_locale 中的 get_date 包装#3816
da-liii merged 4 commits into
mainfrom
da/1114/pretty_time

Conversation

@da-liii

@da-liii da-liii commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

摘要

完成 tm_localeget_date 的最终清理:删除 tm_locale.hpp/cpp 中的包装函数,主项目相关代码直接调用 lolly::locale::get_date

变更内容

  • 删除 src/System/Language/tm_locale.cpp 中的 get_date 实现及不再使用的 locale.hpp 包含
  • 删除 src/System/Language/tm_locale.hpp 中的 get_date 声明
  • src/Typeset/Env/env_exec.cpp 直接调用 lolly::locale::get_date
  • src/Mogan/Research/research.cpp 直接调用 lolly::locale::get_date
  • 更新 devel/1112.md 任务文档

测试

  • xmake b stem 构建通过
  • xmake test -P lollylolly_tests/locale_test 通过

da-liii and others added 4 commits June 25, 2026 18:46
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 删除 tm_locale.hpp 中的 get_date 声明
- 删除 tm_locale.cpp 中的 get_date 实现
- env_exec.cpp 与 research.cpp 直接调用 lolly::locale::get_date

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@da-liii da-liii merged commit 6733f19 into main Jun 25, 2026
4 checks passed
@da-liii da-liii deleted the da/1114/pretty_time branch June 25, 2026 12:43
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.

1 participant