[wp-trac] [WordPress Trac] #20530: get_comment_date() ignores timezone settings
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 24 10:50:58 UTC 2012
#20530: get_comment_date() ignores timezone settings
--------------------------+-----------------------------
Reporter: Jurik | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 3.3.1
Severity: normal | Keywords:
--------------------------+-----------------------------
My timezone settings are UTC+2 but when I try following code, I always get
UTC time.
{{{
get_comment_date('d.m.Y, H:i', $comment->comment_ID );
}}}
So I guess, that this function doesn't work correctly. With
get_comment_time() everything works fine.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20530>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list