Weird calendarp roblem showing wrong day

Hi Guys

I keep coming up with these weird ones
Any here goes

I am using a calendar view:
If i open the view showing a 31 day view the correct day is shown as todays date. If I change to 5 day view for example and then back to 31 the days are off by one
Wednesday December 10    31
Wednesday December 10    5
Thursday December 10        31

It seems to work OK for my Shared,desktop on first use view

Any Ideas

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Are you using an early version of 4.6 or 5.0?  There were some bugs like that reported at the time.
Oh, yes,I remember you are using 5.0.11.  Perhaps the bug has resurfaced.
adspmoAuthor Commented:
Could be
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

Use the default values for Calendar (Preferences / International settings). They are Sunday/Monday/Monday.  My version does not exhibit this problem, by the way.

Recent example:

Older example, with the International issue:
Try these

Open to calendar view and Hold Shift + F9 to rebuild the index.., if that doesn't resolve
Create new copy of the database and check if this happens.., if that doesn't resolve
At server console issue commands load fixup and updall -r (parameter database path at the end of the command)

adspmoAuthor Commented:
I tried the above and no go

adspmoAuthor Commented:
It only seem to be the 31 day view in the calendar
> I tried the above and no go

> James
Which?  The interbational settings, or the rebuild?

Rebuild won't help you, since it is a display issue, not a view index issue.  The problem was once explained to me as "Notes calculates day of week in several places in the calnedar display code, and if it has some off settings for first-day-of-week, it may sometimes cache the maping incorrectly."  In other wrds, it may have become confused as it went from building the quick-pick calendar right before the large calendar or vice versa, or some other comboo of DOW calculations versus order mappings for the display.
adspmoAuthor Commented:
I actually verified my settings

They are Sunday, Monday Monday
I had some problems with calendar view.

What i did is to copy view from mail template and modify it according to my needs.

Please try it and let me know.

adspmoAuthor Commented:
I tried copying from the mail template and had the same problem. Is it possible this is a coding error. The odd thing is it is only the 31 day view

Can u paste the code which ur using in the first column?

I have copied from template and modified. Its working great

I have seen the same problem in the mail file in the past.  Will everyone please stop assuming it is a problem in the design? if Notes is showing that today is the 11th, but that today is not Thursday, then Notes has lost its mind.  That's it.  Plain and simple.  Nothing to do with design.

So, the question becomes, Is there a way to force Notes to retain its sanity?  Changing design is UNLIKELY to do that.  Some setting is more likely.

What happens if you do the same thing in your mail file's calendar?
adspmoAuthor Commented:
My mail seems fine
The problem seems to be with the DESIGN of the calendar. THe first column has some empty dates listed.. And that is why it is corrupting the calendar.

If you create a calendar just with startdate in first col and enddate in second col then the calendar doesn't behave weirdly

Check it out.

So we might have to refine the formula to remove the nulls and build a new calendar view.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
adspmoAuthor Commented:

I have noticed that it only seems to be the 31 day and the 2 day view. The 2 day view shows the same day twice, the 31 show the wrong day eg Monday 15 shows a Tuesday 15

I have changed the 1st column to Startdate and 2nd to EndDate and checked the Calendar.I am still experiencing the same problem.

Completely recreate the view when you change the formula of the first two cols
adspmoAuthor Commented:
Do you mean build a new view, refresh the exiting one??

yes. hemantha is telling you to recreate a new view from scratch.

adspmoAuthor Commented:
Okee Dokee
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.