← Back to team overview

mahara-contributors team mailing list archive

[Bug 787262] Re: erroneous timezone offset error message

 

Patch for this bug attached.

** Patch added: "timezone_fix.patch"
   https://bugs.launchpad.net/mahara/+bug/787262/+attachment/2140343/+files/timezone_fix.patch

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/787262

Title:
  erroneous timezone offset error message

Status in Mahara ePortfolio:
  Triaged

Bug description:
  In the 1.4 RC, htdocs/lib/upgrade.php checks to see that
  strftime('%z') returns a "+" followed by four digits.  However, the
  timezone offset can start with a "-" as well. So, for example, someone
  running Mahara in the US will be told that their PHP is not returning
  a useful timezone offset, but it in fact is.  The timezone offset in
  California, for example, during this time of year is -0700.


References