Ruby extensions for working with date and time