Skip to content

Conversation

yuankunzhang
Copy link
Contributor

Time offset can only appear after time or timezone. For example, the following formats are valid:

02:25 +01:00
UTC +01:00

And the following formats are invalid:

2025-05-19 +01:00
9:04:30 PM +0530

This PR also removes some invalid tests.

@cakebaker cakebaker linked an issue Jul 19, 2025 that may be closed by this pull request
@cakebaker
Copy link
Collaborator

I think you can also remove the todo for #166 in tests/time.rs.

@cakebaker cakebaker merged commit 0674254 into uutils:main Jul 19, 2025
17 checks passed
Copy link

codecov bot commented Jul 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (6499842) to head (8bebfab).
Report is 2 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #180   +/-   ##
===========================
===========================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cakebaker
Copy link
Collaborator

Thanks!

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.

Invalid time strings are allowed

2 participants