google / mdbook-i18n-helpers

Translation support for mdbook. The plugins here give you a structured way to maintain a translated book.
Apache License 2.0
127 stars 25 forks source link

Advance POT-Creation-Date by 1 minute on normalization #212

Closed carreter closed 1 month ago

carreter commented 2 months ago

Fixes #117.

Advances POT-Creation-Date by 1 minute rather than 1 second as @mgeisler suggested as it seems like the date format does not include seconds for some reason: https://www.gnu.org/software/trans-coord/manual/gnun/html_node/PO-Header.html

"POT-Creation-Date: 2008-02-06 16:25-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
mgeisler commented 2 months ago

Advances POT-Creation-Date by 1 minute rather than 1 second as @mgeisler suggested as it seems like the date format does not include seconds for some reason: https://www.gnu.org/software/trans-coord/manual/gnun/html_node/PO-Header.html

Nice, I had not noticed that :smile:

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 96.15385% with 1 line in your changes missing coverage. Please review.

Project coverage is 84.82%. Comparing base (68d2e29) to head (04d6b15). Report is 5 commits behind head on main.

Files Patch % Lines
i18n-helpers/src/normalize.rs 96.15% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #212 +/- ## ========================================== - Coverage 86.99% 84.82% -2.17% ========================================== Files 15 15 Lines 3229 3341 +112 Branches 3229 3341 +112 ========================================== + Hits 2809 2834 +25 - Misses 327 413 +86 - Partials 93 94 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

carreter commented 1 month ago

@mgeisler Fixed the linting issues, mind giving approval for the workflow?