Loading...
 
Skip to main content

1.10: Calendar shows ok date number on header, but date +1 in cells of the calendar (month view)

Status
Pending
Subject
1.10: Calendar shows ok date number on header, but date +1 in cells of the calendar (month view)
Version
2.x
Category
  • Usability
Feature
Calendar
Date and Time
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Using recent 1.10 (end of november'07):
today December 8th 2007 I've set a new event at a calendar:
http://intercanvis.net/tiki-calendar.php?todate=1197068400Question

If you view this calendar as anonymous you see the correct date in both places:

  1. Focus: Dissabte 08/Desembre/2007 (08/12/07, Saturday)
  2. Cel (current and focus) date: 12/08


However, if you login as plain registered user, this same url:
http://intercanvis.net/tiki-calendar.php?todate=1197068400Question

...it takes you to: "Focus: Friday 07/December/2007" (user abel, for instance), which is wrong: it should be 08/Desembre/2007

And if you login as user with admin rights (user Xavi) , the same url shows:

  1. Focus: Dissabte 08/Desembre/2007 (08/12/07, Saturday)
  2. BUT Cel (current and focus) date shows: 12/07,
    which is wrong: it should be 08/Desembre/2007
    (if you click at teh event view, the date is set right: 08/12/07)

--

Further Update:
This is kind of weird: I had prefference for new users as "site default", and site language was either English or Catalan, amnong the few allowed languages for users.
I checked language of user "abel", and it had "Arabic" (which was not among the pre-selected as available for users).

I changed default language for all users as Catalan, and ensure the only Catalan, Spanish, English and French were allowed. Then, again, tried viewing this date:
http://intercanvis.net/tiki-calendar.php?todate=1197068400Question

with user "usuari", which has language selected to English: date in calendar is shown fine.

  1. Focus: Dissabte 08/Desembre/2007 (08/12/07, Saturday)
  2. Cel (current and focus) date: 12/08


However, if I login as user "abel" (with Catalan interface), weird change in date shown is produced:

  1. Focus: Dissabte 08/Desembre/2007 (08/12/07, Saturday)
  2. Cel (current and focus) date: 12/07 1 day less than it should


I can enable an account there for any admin who want to track/hunt this bug, if needed.

Importance
6
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1447
Created
Saturday 08 December, 2007 13:19:20 UTC
by Unknown
LastModif
Saturday 08 December, 2007 15:58:21 UTC


Show PHP error messages