[wp-trac] [WordPress Trac] #12427: locating the_time function
WordPress Trac
wp-trac at lists.automattic.com
Sat Apr 3 07:09:51 UTC 2010
#12427: locating the_time function
-----------------------------+----------------------------------------------
Reporter: DaNiel | Owner: nbachiyski
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: i18n | Version:
Severity: normal | Resolution:
Keywords: multisite close |
-----------------------------+----------------------------------------------
Changes (by nacin):
* keywords: multisite => multisite close
* milestone: 3.0 =>
Comment:
I'll be honest, I'm not sure what this ticket is asking for. They are
translatable, and they should be in the pot file.
the_time() calls get_the_time() which calls get_post_time() with a
$translate argument of true (default false), which then passes that
$translate argument to mysql2date(), which then uses date_i18n().
Alternatively, if the_time() is used without any arguments, then it uses
the blog setting, which can be localized by the user.
Removing the milestone and suggesting close, pending feedback.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12427#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list