List of Projects WebsiteOne Features request and design Event time and date problems and fixes- DONE

Event time and date problems and fixes- DONE

Updated about 8 years ago by Jon Engelbert

Event Class Time/Date Problems & Fixes

Old Problem

Presently, the event date is not converted... so if I have an event starting at 10PM today, it will be stored as if it were starting at 2AM TODAY.  Also, there is a validation before storing events to the database that will prevent AV from storing events starting and ending on distinct days because the end time will be earlier than the start time.


We wrote a database migration for the Event model to replace the three existing date & time fields for events, and replaced them with  start_datetime and duration.  


comments powered by Disqus