Recent Posts

 

April 2019
M T W T F S S
« Mar    
1234567
891011121314
15161718192021
22232425262728
2930  

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.



&amp;amp;amp;lt;!–:en–&amp;amp;amp;gt;Warning! WordPress External Editor &amp;amp;amp;lt;!–:–&amp;amp;amp;gt;&amp;amp;amp;lt;!–:ja–&amp;amp;amp;gt;WordPress外部エディタに注意!&amp;amp;amp;lt;!–:–&amp;amp;amp;gt;



&amp;lt;!–:en–&amp;gt;My first WordPress&amp;lt;!–:–&amp;gt;&amp;lt;!–:ja–&amp;gt;初めてのWordPress&amp;lt;!–:–&amp;gt;

best online casino