Moodle

Calendar's detailed month view shows weekdays incorrectly

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.5
  • Fix Version/s: None
  • Component/s: Calendar
  • Labels:
    None
  • Environment:
    Redhat Linux, Postgres 8.2.0, PHP 4.3.9.
  • Database:
    PostgreSQL
  • Affected Branches:
    MOODLE_16_STABLE

Description

When a teacher looks at calendar dates and weekdays, they're all OK. But when a teacher opens the "Detailed month view" for the same month, the weekdays are shown incorrectly (see the attached pic). In the example pic, August 22nd is marked correctly in the small block view but incorrectly (Moodle claims August 22nd to be Tuesday).

Activity

Hide
Olli Salo added a comment -

... incorrectly in the detailed view. Could this be a postgres-related bug?

Show
Olli Salo added a comment - ... incorrectly in the detailed view. Could this be a postgres-related bug?
Hide
Olli Salo added a comment -

Some other users have had the similar problem (see: http://moodle.org/mod/forum/discuss.php?d=71054). I was able to fix our moodle setup with the server settings mentioned by Joseph Rézeau in the above mentioned thread but I think it would still be worth checking since a lot of moodle administrators have reported the same bug/feature. Apparently using "server time" (instead of a specified location) affects these two calendar view differently.

Show
Olli Salo added a comment - Some other users have had the similar problem (see: http://moodle.org/mod/forum/discuss.php?d=71054). I was able to fix our moodle setup with the server settings mentioned by Joseph Rézeau in the above mentioned thread but I think it would still be worth checking since a lot of moodle administrators have reported the same bug/feature. Apparently using "server time" (instead of a specified location) affects these two calendar view differently.
Hide
Wen Hao Chuang added a comment -

I can't reproduce this with our testing and staging site, and we are using MySQL. Just a quick FYI

Show
Wen Hao Chuang added a comment - I can't reproduce this with our testing and staging site, and we are using MySQL. Just a quick FYI
Hide
Red Morris added a comment -

I have this same issue on Windows/Apache/MySQL system. So not a Postgres issue.

Show
Red Morris added a comment - I have this same issue on Windows/Apache/MySQL system. So not a Postgres issue.
Hide
Wen Hao Chuang added a comment -

I was able to reproduce this issue on the most recent version of 1.6.x, but not in 1.8.x. So 1.8 already fixed this issue. I could take a look at the codes and see if I could backport to 1.6 to fix this bug. Also attach a screenshot (it seems to be different from the alignment issue that earlier screenshot shows though). I think this problem also exist in 1.5.x too.

Show
Wen Hao Chuang added a comment - I was able to reproduce this issue on the most recent version of 1.6.x, but not in 1.8.x. So 1.8 already fixed this issue. I could take a look at the codes and see if I could backport to 1.6 to fix this bug. Also attach a screenshot (it seems to be different from the alignment issue that earlier screenshot shows though). I think this problem also exist in 1.5.x too.
Hide
Wen Hao Chuang added a comment -

Hi Yu, before I dig into the code do you happen to know anything about what might have caused this? Thanks!

Show
Wen Hao Chuang added a comment - Hi Yu, before I dig into the code do you happen to know anything about what might have caused this? Thanks!
Hide
Yu Zhang added a comment -

Hi Wen, sorry, not really, I don't know so you would have to look...

Show
Yu Zhang added a comment - Hi Wen, sorry, not really, I don't know so you would have to look...
Hide
Petr Škoda (skodak) added a comment -

I think I fixed that bug, but do not remember when and where

Show
Petr Škoda (skodak) added a comment - I think I fixed that bug, but do not remember when and where
Hide
Dan Marsden added a comment -

flagging as fixed (as Petr mentions) if this is still an issue please let us know and we can reopen.

thanks,

Show
Dan Marsden added a comment - flagging as fixed (as Petr mentions) if this is still an issue please let us know and we can reopen. thanks,

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: