]> git.mjollnir.org Git - moodle.git/commit
MDL-16606 "userdate inserts a space in front of date when chopping off the leading...
authorjamiesensei <jamiesensei>
Mon, 22 Sep 2008 10:26:44 +0000 (10:26 +0000)
committerjamiesensei <jamiesensei>
Mon, 22 Sep 2008 10:26:44 +0000 (10:26 +0000)
commit3e95343a8808304184dab4d34c767ba24c2d3165
treeca20b7e2286fe408c8e0177434e245d1f66a4a90
parente1d2278b51303e81f7b9af194ff7070c77813d9c
MDL-16606 "userdate inserts a space in front of date when chopping off the leading 0 on day of the month produced by %d"

extra space was used in front of %d so that we can detect the difference between a leading 0 and something like 10, 20, or 30. The extra space was removed along with any leading 0 but not if there was no leading zero.

Now removing extra space even if there is no leading zero.
lib/moodlelib.php