Comment 6 for bug 771597

Revision history for this message
Darryl Hamilton (lordp) wrote :

Ok, nothing wrong with the database content, and the Apache error log didn't have anything useful.

However, I think I know what the problem is.

What is boils down to Mahara on a Windows host doesn't play nicely with the format string used by the format_date() function (returns false). This in turn means you end up with the dates being ':' as in the LEAP2A file attached.

The default format string is '%Y-%m-%dT%T%z' - the %T and %z parts do not seem to work on Windows (PHP 5.3.6).

There is a possible fix for this - instead of using strftime(), use date('c', $date) as this returns the same format for Linux and Windows hosts.

This is a change to one of the core parts of Mahara though, and will need a lot of testing to make sure the change doesn't break other things.