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

Already on GitHub? Sign in to your account

single_day? and multi_day? methods #3

Merged
merged 1 commit into from Jun 20, 2011

Conversation

Projects
None yet
2 participants
Contributor

mdoel commented Jun 20, 2011

I added methods for detecting if an event is on a single day or covers multiple days. Useful in case you want to show "When: 7pm-9m on 6/23" versus "June 23 through June 28" in your views.

Note that the spec file for events appears to depend on files outside the gem itself, so I could not run the tests before starting. If desired, I'd be happy to do my best to add the specs anyway for your use in local testing.

Contributor

joemsak commented Jun 20, 2011

Hell yeah!

@joemsak joemsak added a commit that referenced this pull request Jun 20, 2011

@joemsak joemsak Merge pull request #3 from mdoel/master
single_day? and multi_day? methods
3efcb07

@joemsak joemsak merged commit 3efcb07 into refinery:master Jun 20, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment