Skip to content

Conversation

@josephradford
Copy link
Contributor

Not sure if this repo is active or not, or if it's being developed on another fork, but this bug caught my eye.
I couldn't reproduce the issue on my phone, but found the suspect code and changed it and added unit tests.
Added a basic action to run the SharedLib tests to confirm that is working as expected.
Happy to discuss ❤️

josephradford and others added 2 commits November 5, 2025 10:13
…bag#451)

Reading time was incorrectly displayed as time-of-day (e.g., "12:45:00 AM" on 12-hour format devices) instead of as a duration. This occurred because DateFormatter was being used to format what should be a duration value, causing it to apply system time format preferences.

Replaced DateFormatter with simple duration calculation that formats as HH:MM:SS regardless of device settings. Added comprehensive unit tests covering basic durations, hour boundaries, fractional minutes, and edge cases.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@bourvill bourvill merged commit 0c182f2 into wallabag:main Nov 5, 2025
1 check passed
@bourvill
Copy link
Member

bourvill commented Nov 5, 2025

Hello,
The project is still active but in private repository.
Thanks for your contribution.
I will merge this PR in this repository and in the private repository.
And a version with your fix will be published to Apple.

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