taiabati New Member
 member is offline
Joined: Mar 2007 Posts: 5 Karma: 0 |  | calendar :: all months have 31 days « Thread Started on Mar 1, 2007, 5:53am » | |
I don't know if this is happening to you, but all months have 31 days in my blog. 
Is this a known bug or did I damaged something when localizing alla calendar entries to italian?
have a look here: http://www.taiabati.com/BatiBlog as you can see GM thinks it's the 29th of february today...
(edited)
| |
|
taiabati New Member
 member is offline
Joined: Mar 2007 Posts: 5 Karma: 0 |  | Re: calendar :: all months have 31 days « Reply #1 on Mar 1, 2007, 6:37am » | |
oh no, I'm sorry. The calendar is working well. It's just my braincells that got damaged somehow.
Sorry for posting an incorrect information...
| |
|
coldstone Global Moderator
     member is offline
![[avatar] [avatar]](http://xergs.doubtfulguest.net/images/avatar.png)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: Aug 2006 Posts: 816 Karma: 18 |  | Re: calendar :: all months have 31 days « Reply #2 on Mar 1, 2007, 4:45pm » | |
No problem, glad to hear that its working fine.
| |
|
taiabati New Member
 member is offline
Joined: Mar 2007 Posts: 5 Karma: 0 |  | Re: calendar :: all months have 31 days « Reply #3 on Mar 5, 2007, 8:39am » | |
Hello. I will repost here 'cos the following issue was posted in a wrong thread. Sorry about this.
_________________________
For the 31 day issue, it's working properly in the calendar and in the tagging date of the posts.
The strange thing happens in the Archive index page.  I chose to have weekly archives, and the list's links gives the starting and eding date of each week.
There you can see it assumes february having 31 days: http://www.taiabati.com/BatiBlog/archives/index.html
If you see the first two links of the list you have: link 1 for this week: from 28 feb. to 3 march (correct) link 2 for last week: from 25 feb. to 31 february (wrong).
Also note the funny "overlapping" of the two weeks 
Some ideas?
Bye Bye.
Thank you
| |
|
coldstone Global Moderator
     member is offline
![[avatar] [avatar]](http://xergs.doubtfulguest.net/images/avatar.png)
![[homepage] [homepage]](http://images.proboards.com/buttons/www_sm.gif) Joined: Aug 2006 Posts: 816 Karma: 18 |  | Re: calendar :: all months have 31 days « Reply #4 on Mar 5, 2007, 10:57pm » | |
Hmm, that is some bad date arithmatic. I will look at this and as the code controlling template translations is updated, this problem can be resolved.
| |
|