[theme-reviewers] Hard coding date format ?
Konstantin Kovshenin
kovshenin at gmail.com
Sat Dec 14 18:59:48 UTC 2013
You should probably use get_option( 'date_format' ); unless you need a
specific format, in which case you should probably allow translators to set
their own, i.e. the_time( _x( 'j M, Y', 'date format for some specific
thing', 'text-domain' ) );
On Sat, Dec 14, 2013 at 10:51 PM, bravo keyl <bravokeyl at gmail.com> wrote:
> I saw some themes using the code like
> *<?php the_time('j M, Y'); ?> *for posts-date formatting.
>
> Is this okay..i mean if we do this we can't setting date format in
> general settings .
>
> what's your view on this?
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
--
Konstantin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20131214/e2feb046/attachment.html>
More information about the theme-reviewers
mailing list