Skip to content

docs: correct daily/hourly sink filename format in comments - #3637

Merged
gabime merged 1 commit into
gabime:v1.xfrom
dvirarad:docs/fix-daily-hourly-filename-format
Jul 24, 2026
Merged

docs: correct daily/hourly sink filename format in comments#3637
gabime merged 1 commit into
gabime:v1.xfrom
dvirarad:docs/fix-daily-hourly-filename-format

Conversation

@dvirarad

Copy link
Copy Markdown
Contributor

The daily_filename_calculator and hourly_filename_calculator build filenames with an underscore separator (basename_YYYY-MM-DD.ext and basename_YYYY-MM-DD_HH.ext), but the accompanying comments described the format with a dot separator — and, for the hourly sink, a dash before the hour. This updates the comments to match the output actually produced by calc_filename (see the regex in tests/test_daily_logger.cpp). Comments only; no behavior change.

The daily_filename_calculator and hourly_filename_calculator produce
filenames using an underscore separator (e.g. basename_YYYY-MM-DD.ext
and basename_YYYY-MM-DD_HH.ext), but the surrounding comments described
the format with a dot separator (basename.YYYY-MM-DD.ext) and, for the
hourly sink, a dash before the hour. Update the comments to match the
actual output produced by calc_filename.
@gabime
gabime merged commit 989d28d into gabime:v1.x Jul 24, 2026
13 of 14 checks passed
@gabime

gabime commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Thanks @dvirarad

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