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

Any plan on storing Tod::Shift as ActiveRecord attribute? #41

Open
pedroadame opened this issue Mar 14, 2017 · 2 comments
Open

Any plan on storing Tod::Shift as ActiveRecord attribute? #41

pedroadame opened this issue Mar 14, 2017 · 2 comments

Comments

@pedroadame
Copy link

Just asking. It would be a perfect fit for open business schedules.

@jackc
Copy link
Owner

jackc commented Mar 17, 2017

It sounds like it could be useful, though off the top of my head I'm not sure what the best mapping would be to the database.

Personally, I don't have any plans to build this feature at this time, but I'd be open to collaborating if someone wanted to.

@pedroadame
Copy link
Author

I'd just store a parseable plain-text string as datetime could have different behaviour in different DBs

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

No branches or pull requests

2 participants