Skip to content
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

Improve DWIM on straight datetime days #113

Open
amotl opened this issue Mar 1, 2025 · 0 comments
Open

Improve DWIM on straight datetime days #113

amotl opened this issue Mar 1, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@amotl
Copy link
Member

amotl commented Mar 1, 2025

Problem

This is not quite DWIM.

>>> from aika import TimeIntervalParser
>>> TimeIntervalParser().parse("2025-02-25").githubformat()
'2025-02-25..2025-03-01'

Pitch

This would be better.

>>> from aika import TimeIntervalParser
>>> TimeIntervalParser().parse("2025-02-25").githubformat()
'2025-02-25..2025-02-25'
@amotl amotl added the enhancement New feature or request label Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant