August 2019
M T W T F S S
« Jul    
 1234
567891011
12131415161718
19202122232425
262728293031  

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;lt;!–:en–&amp;amp;gt;Comment date incorrect in Atahualpa&amp;amp;lt;!–:–&amp;amp;gt;&amp;amp;lt;!–:ja–&amp;amp;gt;Atahualpaでコメントの日付が文字化け&amp;amp;lt;!–:–&amp;amp;gt;

In the theme Atahualpa, which we are using for this blog, I found that the comment date shows incorrectly like below.

comment_date_garbage2

comment_date_garbage_22

I couldn”t find the way to fix it anyway on the edit screen, so modified the points in

bfa_comment_walker.php.

I want to internationalize them in some way, but have no time, so cannot but online casino leave  it for now…