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

Configurable parsing and formatting API #174

Open
ariebovenberg opened this issue Oct 15, 2024 · 1 comment
Open

Configurable parsing and formatting API #174

ariebovenberg opened this issue Oct 15, 2024 · 1 comment
Labels
discussion Discussion is needed before proceeding

Comments

@ariebovenberg
Copy link
Owner

One important feature is the ability to parse datetimes in various formats.

Some initial thoughts:

  • The main API would be .parse(format, s) using
  • potential convenience wrappers could exist: .parse_strptime(format, s) and .parse_dateutil(s) (if dateutil is installed)
@ariebovenberg ariebovenberg added the discussion Discussion is needed before proceeding label Oct 15, 2024
@ariebovenberg ariebovenberg changed the title Configurable parsing API Configurable parsing and formatting API Jan 4, 2025
@ariebovenberg
Copy link
Owner Author

Note: A customized formatting API would of course be the inverse of this, and probably developed at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Discussion is needed before proceeding
Projects
None yet
Development

No branches or pull requests

1 participant