修正自己服务器上的时间显示问题。

可能并不适用于所有人。
pull/31/head
mlge 2019-01-02 01:33:44 +08:00 committed by GitHub
parent ccebaeed9f
commit 5f0f234875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ function poi_time_since( $older_date, $comment_date = false, $text = false ) {
array( 1, __( ' 秒前', 'akina' ) )
);
$newer_date = time() - (8*60*60);
$newer_date = time();
$since = abs( $newer_date - $older_date );
if($text){
$output = '';