Loading...
 
Features / Usability

Features / Usability


Calendar Limits

posts: 7
It appears that I can't set up an event for later then Dec 31, 2010. Is there any way to extend the calendar's capabilities to include dates more then 4 years in the future? I'd like to be able to cover at least through 2058.
posts: 3665 United States

Taking a look at the template, it looks as though the selector is hard-coded to a max of 4 years in the future. You can change this by editing the tiki-calendar_add_event.tpl template. Change the +4 to be something higher, such as +60.

HTH,

-Rick



> It appears that I can't set up an event for later then Dec 31, 2010. Is there any way to extend the calendar's capabilities to include dates more then 4 years in the future? I'd like to be able to cover at least through 2058.

posts: 7

> Taking a look at the template, it looks as though the selector is hard-coded to a max of 4 years in the future. You can change this by editing the tiki-calendar_add_event.tpl template. Change the +4 to be something higher, such as +60.
>
> HTH,

That seems like it would work, but there is apparently more hardcoding then just that. I changed both "enddates" from +4 to +65. When I set an event for 2057 it instead sets the event to Wednesday 31 of December, 1969 This is identical to what it was doing before. If the code was documented, I might be able to figure out what I'm missing here, but I'm not really up on scripting language.

posts: 3665 United States



> That seems like it would work, but there is apparently more hardcoding then just that. I changed both "enddates" from +4 to +65. When I set an event for 2057 it instead sets the event to Wednesday 31 of December, 1969 This is identical to what it was doing before. If the code was documented, I might be able to figure out what I'm missing here, but I'm not really up on scripting language.


Acutally, I think I remember reading somwhere that the MySQL Unix timestamp can only handle dates through 2037. Can any MySQL experts out there verify this?

-Rick