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

Ducktype for 'Time' objects - gracefully handle Datetime, Date #19

Open
jaredlt opened this issue May 11, 2020 · 0 comments
Open

Ducktype for 'Time' objects - gracefully handle Datetime, Date #19

jaredlt opened this issue May 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@jaredlt
Copy link
Owner

jaredlt commented May 11, 2020

Currently only accepts Time objects

  • Gracefully handle DateTime objects
    • convert immediately to Time object DateTime.now.to_time? add tests to confirm this doesn't alter anything
  • when all_day, handle Date objects
@jaredlt jaredlt added the enhancement New feature or request label May 11, 2020
@jaredlt jaredlt changed the title Ducktype for 'Time' objects - gracefully handle Datetime (and String?) Ducktype for 'Time' objects - gracefully handle Datetime, Date Apr 27, 2023
@jaredlt jaredlt mentioned this issue May 1, 2023
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