YaleSTC / shifts

Application to easily track shifts, reports, and payforms for employees.
MIT License
23 stars 18 forks source link

Fix recurring time_slot creation #371

Closed shippy closed 9 years ago

shippy commented 10 years ago

Currently, creating a recurring time slot crashes in the custom SQL written in TimeSlot::make_future. This can be viewed on branch 371_timeslots.

(Relevant functionality previously marked in terms of implementation as #144, #253, and #273.)

njlxyaoxinwei commented 10 years ago

The error in the syntax is that all times (like 2014-09-20 04:00:00 UTC) should be double-quoted in the string for SQL to execute