MDL-35171 formslib Updating date config array to fix problems with month jumping.
authorEric Merrill <merrill@oakland.edu>
Sat, 1 Sep 2012 14:11:24 +0000 (10:11 -0400)
committerEric Merrill <merrill@oakland.edu>
Sat, 1 Sep 2012 14:11:24 +0000 (10:11 -0400)
commit1bae1fe522cb87a57c4419c6e9a46c758b2b1d8d
treeadc261d7e349e5611428fcd6c429ce89098a3455
parent569f1ad63b7a2bc31728582a102ae75f92799f9a
MDL-35171 formslib Updating date config array to fix problems with month jumping.

Based on https://bugs.php.net/bug.php?id=49115, if you request a month, but do not
specify a date, it will use your current date, which may be beyon a date in the month
requested, causing the return of the next month. This patch specifies the date (1st).
lib/formslib.php