osem
https://github.com/opensuse/osem
Ruby
Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.
ApplicationHelper#date_string
Returns a string build from the start and end date of the given conference. If the conference is only one day long * %B %d %Y (January 17 2014) If the conference starts and ends in the same month and year * %B %d - %d, %Y (January 17 - 21 2014) If the conference ends in another month but in the same year * %B %d - %B %d, %Y (January 31 - February 02 2014) All other cases * %B %d, %Y - %B %d, %Y (December 30, 2013 - January 02, 2014)
Edit
git clone [email protected]:opensuse/osem.git
cd osem
open app/helpers/application_helper.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ApplicationHelper-date_string-for-pr
# Commit to gitgit add app/helpers/application_helper.rbgit commit -m "better docs for ApplicationHelper#date_string"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ApplicationHelper-date_string-for-pr
hub pull-request
# Celebrate!