Print date December 31, 1969

Print date December 31, 1969

by Debbie McDonald -
Number of replies: 3

We are using the Certificate Module in Moodle 2.2.4 and all of a sudden it has started printing the date: December 31, 1969. Do you have any idea what may be causing this? 

Average of ratings: -
In reply to Debbie McDonald

Re: Print date December 31, 1969

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Debbie,

Which version of the certificate module are you using? I believe your issue may be related to http://moodle.org/mod/forum/discuss.php?d=199250 which was fixed with an upgrade.

Regards,

Mark

In reply to Mark Nelson

Re: Print date December 31, 1969

by Debbie McDonald -

It looks like we are using:  2012010501

$module->version = 2012010501; // The current module version (Date: YYYYMMDDXX)
$module->requires = 2010102600; // Requires this Moodle version
$module->cron = 0; // Period for cron to check this module (secs)

Moodle version:  2011120504.01

$version = 2011120504.01; // 20111205 = branching date YYYYMMDD - do not modify!
// RR = release increments - 00 in DEV branches
// .XX = incremental changes

$release = '2.2.4+ (Build: 20120712)'; // Human-friendly version name

In reply to Debbie McDonald

Re: Print date December 31, 1969

by Mark Nelson -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Debbie,

That is quite an old version. Please download the latest version from https://github.com/markn86/moodle-mod_certificate

There have been several changes to the type system, so before upgrading check if you have created any custom types in the mod/certificate/type folder. The types that come with Moodle are listed https://github.com/markn86/moodle-mod_certificate/tree/master/type so if you only have these folders then the upgrade should work as expected.

Regards,

Mark