Hello everyone,
I'm using Calendar with Date 2.7 and I noticed that the contents that start and end the first day of the month (eg May 1) do not appear in the monthly calendar.
The problem does not occur if the the starting date of the event is different from its ending date (eg may 1 - may 3).

I tried to check the day before (April 30, 2011) but the event is not present either.

I wanted to know if it's a problem you have already found and if there is a possible solution.

I tried to ask a friend, and he has this problem as well.

Thanks in advance

Comments

dvitali’s picture

I have already the same problem.

Yoris00’s picture

Issue tags: +empty, +calendar, +first day
dvitali’s picture

Nobody have this problem?

Bluenose37’s picture

yes, there does seem to be a problem.

andres_de’s picture

I figured out the following:
- calendar 6.x-2.4
- date 6.x-2.x-dev (2011-Mar-26) and date 6.x-2.x-dev (2011-Nov-27)
- Server is in Germany, user in Germany
- Now it's normal time (winter time)
- All day date means: date begin = date end e.g. 2012-04-01 00:00 for both dates
When I post (now in dezember 2011) an all day date for the first day of a month in sommer time (no matter for 2011 or 2012) it is not displayed in calendar.
When I post an all day date for the first of a month in normal time, it is displayed as it should be.
That means:
A date for 2011-10-01 is not displayed - a date for 2011-11-01 is displayed
A date for 2012-03-01 is displayed - a date for 2012-04-01 is not displayed

And:
2012-04-01 00:00 to 2012-04-01 00:55 is not displayed
2012-04-01 00:00 to 2012-04-01 01:00 is displayed
2012-04-01 00:00 to 2012-04-01 23:59 is displayed with (all day) as it should!

I hope that helps a little bit - it would be great if someone has a solution.

andres_de’s picture

I found a solution:
The date was saved in the database with the consideration of the time zone. E.g. 2012-05-01 00:00 was saved as 2012-04-30 22:00:00.
The date field had the time zone handling "Site's time zone". I changed it to UTC (Coordinated Universal Time). After this change, the date is stored in the database without consideration of the time zone: 2012-05-01 00:00 is saved as 2012-05-01 00:00:00.
Of cause I had to correct all dates in the nodes, but then the dates where displayed correctly in the calendar!

The problem of "the first day of month" also appeared for "first day of week" and even for the day view for "all day" dates - those dates where not displayed.
With the change of the time zone handling this does not occur any more.
It also works with time zone handling "No time zone conversion".

Well, it works for me - but what about those who need a time zone handling?!?

As you see, I didn't went in the code. I guess the problem is the calculated start date for the query for the requested month (week, day)...

mattez’s picture

mickeydblv’s picture

Just to confirm, changing time zone on the server config: Config | Regional and Language | Regional Settings to UTC solved it for me too!

Many thanks.

Kasey_MK’s picture

Issue summary: View changes

I use time zone handling as well, and figured out a workaround: https://www.drupal.org/node/2200263#comment-10846886

apaderno’s picture

Version: 6.x-2.4 » 6.x-2.x-dev
Status: Active » Closed (outdated)
Issue tags: -empty, -calendar, -first day

I am closing this issue, since it's for a Drupal version no longer supported.