February 2011
M T W T F S S
« Jan   Mar »
 123456
78910111213
14151617181920
21222324252627
28  

Categories

<!–:en–>Date Format of WordPress Template<!–:–><!–:ja–>WordPressテンプレートの日付書式の変更<!–:–>

We got this blog support mobiles by Carrington Mobile a few months ago.

It shows good in Smartphones and seems nice plugin, but has one problem.

The post date are shown incorrect or broken.

The reason is because the comment date & time processing is not working right.

I found the files and made the date-style “yyyy.mm.dd hh:mi:ss” and they worked.

the modified points are like these:

<p>by <cite><?php comment_author_link() ?></cite> on <a href=”#comment-<?php comment_ID() ?>” title=”"><?php comment_date(“Y.m.d “) ?> <?php comment_time(“H:i:s”) ?></a> <?php edit_comment_link(“e”,”",”"); ?></small></p>

<?php printf(__(“%1$s  eliminate ”at” %2$s”,”atahualpa”), get_comment_date(__(“Y.m.d“,”atahualpa”)),  get_comment_time(__(“H:i:s“,”atahualpa”))) ?>

Some of date functions (get_comment_date, comment_date, date…) don”t work right with other format options or no arguments, I think (* these are related to PHP configuarion,version, and locale, so we can”t always オンライン カジノ say that).

About PHP date format, see here.

This happens in our PC template, Atahualpa too.

About Atahualpa date format bug, see this post too.



2 comments to &amp;amp;lt;!–:en–&amp;amp;gt;Date Format of WordPress Template&amp;amp;lt;!–:–&amp;amp;gt;&amp;amp;lt;!–:ja–&amp;amp;gt;WordPressテンプレートの日付書式の変更&amp;amp;lt;!–:–&amp;amp;gt;

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>