carouselapps_table_builder
carouselapps_table_builder copied to clipboard
Use Time.current
To prevent time zone errors use Time.current instead of Time.now as per: http://www.elabs.se/blog/36-working-with-time-zones-in-ruby-on-rails
Time.now returns the system time not the time in the currently set time zone.
Hey, can this be merged in, and a new gem released please?
If you don't have time, just add me as a collaborator on the repo and I'll do it for you :)
+1 or Time.zone.now
I ended up not using table_builder anymore. Using full_calendar instead. Was a bit of a mission to change out but it worked well in the end. It might pay to fork this codebase and fix it in your version instead since it doesn't see any active development.