Some time/date settings in langconfig.php are not compatible with Windows

Bug #671456 reported by Andrew Nicols
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Sean Brennan

Bug Description

According to the note for %e on http://uk3.php.net/manual/en/function.strftime.php windows doesn't support the %e format.
There's a cross-platform 'fix' for this which involves determining whether you're running windows and substr ing any %e to a %#d.

I've not confirmed how this occurs under Windows, but came across it in the docs whilst assisting some in #mahara.

Changed in mahara:
assignee: nobody → ioniser (the-ioniser)
Changed in mahara:
status: New → Triaged
Changed in mahara:
status: Triaged → In Progress
Changed in mahara:
status: In Progress → Fix Committed
milestone: none → 1.4.0
Changed in mahara:
status: Fix Committed → Fix Released
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/1080
Committed: http://gitorious.org/mahara/mahara/commit/5227f0a0f3dca20a47b684628bd228d0d64579a2
Submitter: Hugh Davenport (<email address hidden>)
Branch: master

commit 5227f0a0f3dca20a47b684628bd228d0d64579a2
Author: Francois Marier <email address hidden>
Date: Tue Feb 28 16:46:29 2012 +1300

    Revert "Date format for windows(bug #671456)"

    While this fixed dates on Windows, it broke them on Solaris,
    OSX and BSD (bug #795494).

    This reverts commit c78df32c3d8060f6c7115eb217b03212cf9e5749.

    Change-Id: Ib74acd94ae202ec65cd6c08369e258c3c750aacc
    Signed-off-by: Francois Marier <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.