moodle/calendar
Mark Nelson 5ca04d0ef1 MDL-18375 calendar: fixed issue when resaving the year in the datetime field causing the year to decrease
For example, a user may create a date/time profile field and set the 'Start year'
field to '2012'. Another user, using the Hijri calendar, may edit the name of
this field. They visit the settings page and in this case the date '1/1/2012'
is converted to '7/2/1433' in Hijri. So, the year '1433' is then displayed.
The user then changes the name of this field and saves the form. This is where
the issue occurs, as the date '1/1/1433' is converted into Gregorian, which
converts to the year '26/09/2011', so the year '2011' is saved in the DB, not
'2012'.
2013-09-05 18:32:16 +08:00
..
classes MDL-18375 calendar: changed the name of the function factory to be more descriptive 2013-09-05 18:32:16 +08:00
tests MDL-18375 calendar: fixed issue when resaving the year in the datetime field causing the year to decrease 2013-09-05 18:32:16 +08:00
type/gregorian MDL-18375 calendar: removed usage of the calendar type in the usergetdate function 2013-09-05 18:32:16 +08:00
yui MDL-39092 Yuilib - remove more -coverage.js files 2013-04-15 09:02:11 +08:00
delete.php MDL-34462 Librairies: Replaced deprecated get_context_instance() 2012-07-23 16:22:36 +08:00
event.php MDL-18375 calendar: huge refactor of the initial patch 2013-09-05 18:30:05 +08:00
event_form.php MDL-28071 calendar: Accessibility improvments on calendar new event page 2012-09-21 13:33:24 +08:00
export.php MDL-40652 Calendar: Changed pagelayout from 'standard' to 'base' in calendar/export.php. 2013-07-14 15:01:50 +01:00
export_execute.php MDL-18375 calendar: huge refactor of the initial patch 2013-09-05 18:30:05 +08:00
externallib.php MDL-37101 donot use donot. 2013-01-29 15:24:59 +01:00
index.php MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
lib.php MDL-18375 calendar: huge refactor of the initial patch 2013-09-05 18:30:05 +08:00
managesubscriptions.php MDL-41485 calendar: Replace value of action buttons on managesubscription page with int 2013-08-29 14:55:43 +08:00
managesubscriptions_form.php MDL-38883 calendar: fix missing setType 2013-04-04 17:17:37 +08:00
preferences.php Revert "MDL-39876 Change get_record('course') calls to get_course" 2013-08-21 13:42:30 +08:00
preferences_form.php MDL-30302 Adjust options for calendar day settings 2011-11-28 17:02:31 +00:00
renderer.php MDL-18375 calendar: huge refactor of the initial patch 2013-09-05 18:30:05 +08:00
set.php MDL-34462 Librairies: Replaced deprecated get_context_instance() 2012-07-23 16:22:36 +08:00
upgrade.txt MDL-37562 calendar: Updating upgrade.txt to mention calendar_update_subscription() 2013-04-08 15:03:31 +08:00
view.php MDL-18375 calendar: huge refactor of the initial patch 2013-09-05 18:30:05 +08:00