The month labels appear incorrectly. It shows two months of March, the second one should be april. All other months are offset by 1 as well.

Comments

fietserwin’s picture

Component: User interface » Code
Status: Active » Postponed (maintainer needs more info)

I can't reproduce the error.
- Can you please give an overview of your settings? (global and node specific if enabled)
- Is it for all nodes, or some nodes?
- Did you run update.php?
- From what version were you coming?
- What dev version (date published) did you install?

Or ... might it have to do with timezone settings?
- What timezone settings are you using (in Drupal and on the server)?

sduford’s picture

You can see it at this link: http://litoralpanama.com/content/disponibilit%C3%A9-availability

Note that the first month displays correctly. I first installed v. 6x-1.5 to try it out, then I upgraded to 6.x-2.x-dev (from this morning) because I needed some of the new features. I did run update.php and didn't get any errors.

I only use it on one node, but I will try another one. Timezone settings are all on Eastern Daily Time (north America)

I just created a new node and it shows the same problem.

Should I try uninstalling, deleting the tables, and re-installing?

sduford’s picture

OK, I tried uninstalling and reinstalling and I sitll get the same problem. Tried it with weeks starting on Saturday, Sunday and Monday, still the same.

fietserwin’s picture

Status: Postponed (maintainer needs more info) » Active

I was able to reproduce the problem, I will solve it tomorrow. It has to do with timezone settings and conversions from and to local timestamps before formatting.

fietserwin’s picture

Assigned: Unassigned » fietserwin
Status: Active » Fixed

Fixed and committed to 6.x.-2.x, 6.x-1.x, and 7.x-2.x.

Problem was a regression of #1009216: Date translation problem. Where we changed the code to use format_date() to get translated month titles. format_date() does some timezone juggling before outputting the time as passed in (?!). In D6 you specify a fixed offset, thus you get problems when either outputting dates in summer or winter time periods.D7 handles this correctly, but I changed it anyway to keep the code in sync. (oops: you won't see it yet in the changelog, not committed that one yet.)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.