The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Jan 13, 2011 4:20 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Mar 19, 2009 2:03 pm
Posts: 15
Hi,
I played around with the new profile plugin and discovered a bug with the date of birth field.

My server and user are both in -5 time zone.
When I enter a date of birth, let's say March 6 1970 and save.
In frontend profile the date shown is March 5 1970.
Problem comes from JHTML::date checking for timezone adjustment before showing the result.

If you edit the profile, you'll get the good date as it is saved in the database correctly.

This problem happens a lot with date manipulation in many php application.
There should be a distinction between date field and date+time field. Sometimes we just want a date with no timezone correction as it is the case here.

I don't find the bug report pages, sorry to post here in the forum.
cheers

PS Overall I love what I see within the new 1.6 version -> GREAT THANKS TO ALL CONTRIBUTORS !


Top
 Profile  
 
PostPosted: Thu Jan 13, 2011 5:51 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
Would you report that in the tracker please?
http://joomlacode.org/gf/project/joomla ... er_id=8103

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
PostPosted: Thu Jan 13, 2011 7:10 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Mar 19, 2009 2:03 pm
Posts: 15
I just did.
Thanks for the link.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 



Who is online

Users browsing this forum: Joshua_D, samtrik and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group