Skip to content

[1112] 将 get_date 迁移到 lolly 并移除 Qt 依赖#3813

Merged
da-liii merged 4 commits into
mainfrom
da/1112/impl
Jun 25, 2026
Merged

[1112] 将 get_date 迁移到 lolly 并移除 Qt 依赖#3813
da-liii merged 4 commits into
mainfrom
da/1112/impl

Conversation

@da-liii

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

Copy link
Copy Markdown
Contributor

摘要

  • lolly::locale 中重新实现 get_date,不再依赖 Qt
  • 主项目 tm_locale 改为调用 lolly::locale::get_date
  • qt_utilities 中移除不再使用的 qt_get_date 系列函数
  • get_date 单元测试迁移到 lolly/tests/lolly/system/locale_test.cpp,使用 doctest

测试

  • xmake test lolly_tests/locale_test 通过
  • xmake test lolly_tests/* 全部通过
  • xmake b stem 构建通过

🤖 Generated with Claude Code

da-liii and others added 4 commits June 25, 2026 17:35
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- 在 lolly::locale 中实现不依赖 Qt 的 get_date
- 主项目 tm_locale 改为调用 lolly::locale::get_date
- 从 qt_utilities 中移除 qt_get_date 系列函数
- 将单元测试迁移到 lolly,使用 doctest

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
path-join 返回的是 (liii path) 的 path 记录对象,system->url 期望字符串,
先用 path->string 转换后再传入。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@da-liii da-liii merged commit 5c05292 into main Jun 25, 2026
11 checks passed
@da-liii da-liii deleted the da/1112/impl branch June 25, 2026 10:38
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