Skip to content

Test 1 oss-120b - #1

Open
atakanserifoglu wants to merge 1 commit into
masterfrom
demo-pr
Open

atakanserifoglu wants to merge 1 commit into
masterfrom
demo-pr

Conversation

@atakanserifoglu

Copy link
Copy Markdown

The formatting symbol {%S} should also print the subseconds, e.g., fmt::format("{:%S}", std::chrono::microseconds(1234567)) should print "01.234567".

Didn't implement it for localized output as this localized output looks like black magic to me... may be we can omit it for the localized formatting for the first time?

deeployed-peer-dev[bot]

This comment was marked as outdated.

@Konuralpkilinc Konuralpkilinc changed the title Timestamp formatting shall print also subseconds, fixed a bug for fra… Test 1 oss-120b Oct 29, 2025
@Deeployed-Peer Deeployed-Peer deleted a comment from deeployed-peer-dev Bot Oct 29, 2025
@Deeployed-Peer Deeployed-Peer deleted a comment from deeployed-peer-dev Bot Oct 29, 2025
@Deeployed-Peer Deeployed-Peer deleted a comment from deeployed-peer-dev Bot Oct 29, 2025
@Deeployed-Peer Deeployed-Peer deleted a comment from deeployed-peer-dev Bot Oct 29, 2025
@Konuralpkilinc

Copy link
Copy Markdown

@deeployed-peer-dev review

@deeployed-peer-dev deeployed-peer-dev Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commits Files that changed from the base of the PR and between Base and e21e942 commits: 3
Files Selected For Review: 3
  • include/fmt/chrono.h with diff length 15943.
  • test/chrono-test.cc with diff length 4017.
  • test/xchar-test.cc with diff length 421.
Review comments generated: (13)
  • Review: 1
  • LGTM: 12
  • Identified issue already discussed: 0

Tips

Chat with Deeployed Bot (@@deeployed-peer-dev)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @@deeployed-peer-dev in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @deeployed-peer-dev: ignore anywhere in the PR description to pause further reviews from the bot.

Comment thread test/xchar-test.cc

TEST(chrono_test_wchar, time_point) {
auto t1 = std::chrono::system_clock::now();
auto t1 = std::chrono::time_point_cast<std::chrono::seconds>(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potential compile issue: std::chrono::time_point_cast requires C++20. If the project targets an earlier C++ standard, this line will fail to compile. Consider using a C++11/14‑compatible approach, e.g.:

Suggested change
auto t1 = std::chrono::time_point_cast<std::chrono::seconds>(
auto t1 = std::chrono::time_point<std::chrono::system_clock, std::chrono::seconds>(
std::chrono::duration_cast<std::chrono::seconds>(std::chrono::system_clock::now().time_since_epoch()));

@Deeployed-Peer Deeployed-Peer deleted a comment from deeployed-peer-dev Bot Nov 12, 2025
@atakanserifoglu

Copy link
Copy Markdown
Author

@deeployed-peer-dev review

@deeployed-peer-dev

Copy link
Copy Markdown

Currently reviewing new changes in this PR...

Commits Files that changed from the base of the PR and between Base and e21e942 commits: 3
Files Selected For Review: 3
  • include/fmt/chrono.h with diff length 15943.
  • test/chrono-test.cc with diff length 4017.
  • test/xchar-test.cc with diff length 421.

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.

3 participants