Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Praveen P
Calendar portlet in liferay 6.1 CE is showing wrong current date
May 29, 2012 11:33 PM
Answer

Praveen P

Rank: Regular Member

Posts: 100

Join Date: February 20, 2012

Recent Posts

Hi all, calendar portlet of LR 6.1 CE is showing wrong current date, i mean its showing yesterday's date as a today"s date. How to resolve that?
I had gone through http://issues.liferay.com/browse/LEP-1442 this post also and made the change, but when you log out it is showing correct date but once you log in its showing again yesterday's date as a today's date. can anybody help?

Thanks in advance
Praveen P
David H Nebinger
RE: Calendar portlet in liferay 6.1 CE is showing wrong current date
May 30, 2012 5:57 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11770

Join Date: September 1, 2006

Recent Posts

My guess is that your timezone is not set up correctly for your account.

Liferay by default uses GMT for dates. If you don't have your timezone set (I think it is in display settings for your user profile), the date/time will not display correctly.
Hitoshi Ozawa
RE: Calendar portlet in liferay 6.1 CE is showing wrong current date
June 1, 2012 5:35 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

I think David is right. The user you're using is probably setup to a wrong timezone if the portal is showing the right date/time to guest users.
Goto Control Panel -> Users -> Select the user you're using -> Display setting -> select your timezone.
Praveen P
RE: Calendar portlet in liferay 6.1 CE is showing wrong current date
June 4, 2012 2:57 AM
Answer

Praveen P

Rank: Regular Member

Posts: 100

Join Date: February 20, 2012

Recent Posts

Thanks david and hitoshi problem is solved