Author Topic: Error in the calendar (week view date)  (Read 5643 times)

rolfminder

  • Newbie
  • *
  • Posts: 14
    • View Profile
Error in the calendar (week view date)
« on: March 29, 2009, 10:41:13 am »
after end of the month not only add +1 to day but it also add +1 to the months. example 29/3… 30/3… 31/3… 1/4… 2/5… 3/6… 4/7

the date from the database are from this days.
how can I repair this error?
« Last Edit: March 29, 2009, 10:44:17 am by rolfminder »

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: error in the calendar!
« Reply #1 on: March 30, 2009, 09:52:51 am »
How can I reproduce this error?

Thanks.

mediatech

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Mediatech Consulting
Week view date bug
« Reply #2 on: March 30, 2009, 08:31:51 pm »
I notice this issue last Saturday and it seems to be affecting each week view towards the end of the month where one month stops and the next month begins.

In short, Tue 03/31 continues into Wed 04/1 then Sat 05/2, Wed 06/3, Sat 07/4.

HollyW00d

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Email
Re: Week view date bug
« Reply #3 on: March 30, 2009, 11:20:17 pm »
I noticed this as well. I believe if you hit the right arrow it will reset it.
WildIRC IRC Network
www.WildIRC.Net / irc.WildIRC.Net
#OpenGoo

rolfminder

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: error in the calendar!
« Reply #4 on: March 31, 2009, 02:54:59 am »
I do not know it. this concerns a permanent error.

Here some hard copies of the screens

ricko88

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Error in the calendar (week view date)
« Reply #5 on: March 31, 2009, 02:10:53 pm »
I'm getting the exact same thing with the week view. Thursday and Friday are showing up as different days and different dates.

I noticed that the calendar that shows up in the Overview pane is fine.

Clicking on the right arrow does not reset it for me.

In fact, I don't know if it's related or not, but both green arrows (next, previous) do not work at all for me, in all views: month, week, day.

I get Error 500 every time when clicking the arrows.

mguevara

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: Error in the calendar (week view date)
« Reply #6 on: March 31, 2009, 06:32:12 pm »
I have the same problem, I thought it was a problem with the language I`m using Spanish but I see it is not.

werner.wuerfel

  • Sr. Member
  • ****
  • Posts: 319
    • View Profile
Re: Error in the calendar (week view date)
« Reply #7 on: April 01, 2009, 03:58:32 am »
Hi,

it isn't a problem with the language. In EN_US is the same error.

rolfminder

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Error in the calendar (week view date)
« Reply #8 on: April 03, 2009, 03:26:32 am »
Hi
i have e smal workaround to corect this error.

at the file Localization.class.php i correct the code ....

/* code
   /**
    * Return fromated time
    *
    * @access public
    * @param DateTimeValue $date
    * @param float $timezone Timezone offset in hours
    * @return string
    */
   function formatTime(DateTimeValue $date, $timezone = 1) {
      //return date($this->time_format, $date->getTimestamp() + ($timezone * 3600));
                //return $this->dateByLocalization($this->time_format, $date->getTimestamp(), $timezone);
      $timestamp = time();
      return $this->dateByLocalization($this->time_format, $timestamp  + 3600, $timezone);
 
   } // formatTime


*/ end code
timezone changed from 0 to 1 (Bern, Paris)
$timestamp = local time
and correct the return parameter

this have i do for all 5 time functions....
it works now i have
So 29/03 Mo 30/03 Di 31/03 Mi 01/04 Do 02/04 Fr 03/04 Sa 04/04

I hope this comment help with the error tracing

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: Error in the calendar (week view date)
« Reply #9 on: April 06, 2009, 04:58:49 pm »
This has been fixed for version 1.4 (first beta out next week).

Thanks for your help.