I am currently using the calendar_grid library, which uses the Time
library. My issue is that need to generate calendar grids before 1900
but the Time library does not support any dates before then. Is there
anything I can do to extend or shift the date range supported by the
Time library so that I can create calendars in the 1800’s? Thanks in
advance.
I am currently using the calendar_grid library, which uses the Time
library. My issue is that need to generate calendar grids before 1900
but the Time library does not support any dates before then. Is there
anything I can do to extend or shift the date range supported by the
Time library so that I can create calendars in the 1800’s? Thanks in
advance.
Benjamin
Hi,
have a look at Date class, if you need dates only, or DateTime if you
need times.
Date supports dates from 4700 BC, however it is much slower than Time.
J.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.