Skip to content

Instantly share code, notes, and snippets.

@mmack
Created May 6, 2010 08:48
Show Gist options
  • Save mmack/391933 to your computer and use it in GitHub Desktop.
Save mmack/391933 to your computer and use it in GitHub Desktop.
def end_date
end_date = start_date + length.minutes
end
def real_end_date
real_end_date = start_date + length.minutes + 15.minutes
end
def real_start_date
real_start_date = start_date - 15.minutes
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment