Skip to content

feat: support nanoseconds #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 28, 2025
Merged

Conversation

yuankunzhang
Copy link
Contributor

Closes #165 .

Support nanoseconds and float numbers with comma as separator.

@Maximkaaa
Copy link
Contributor

Maximkaaa commented Jun 27, 2025

Since the tests are merged in, I think you should uncomment these: https://github.com/uutils/parse_datetime/blob/main/tests/time.rs#L37-L42 and these: https://github.com/uutils/parse_datetime/blob/main/tests/time.rs#L57-L60

@yuankunzhang yuankunzhang force-pushed the nanoseconds branch 2 times, most recently from 08ce80a to 460be2f Compare June 27, 2025 15:40
@cakebaker cakebaker merged commit 24fa78a into uutils:main Jun 28, 2025
17 checks passed
Copy link

codecov bot commented Jun 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (b5b1fd2) to head (c0ada32).
Report is 2 commits behind head on main.

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

☔ 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.

Decimal seconds are ignored / produce an error
3 participants