ソースを参照

Fixed new month not being used for different year.

pull/24/head
Teknikode 6年前
コミット
50451af0cb
1個のファイルの変更3行の追加3行の削除
  1. 3
    3
      transparency/main.php

+ 3
- 3
transparency/main.php ファイルの表示

@@ -232,7 +232,7 @@
$transaction_currency = (isset($transaction['currency'])) ? $transaction['currency'] : "";
$new_month_tag = false;
if ($current_month != date("F",strtotime($transaction_date)))
if ($current_month != date("F",strtotime($transaction_date)) || $current_year != date("Y",strtotime($transaction_date)))
{
$new_month_tag = true;
}
@@ -297,7 +297,7 @@
$transaction_currency = (isset($transaction['currency'])) ? $transaction['currency'] : "";
$new_month_tag = false;
if ($current_month != date("F",strtotime($transaction_date)))
if ($current_month != date("F",strtotime($transaction_date)) || $current_year != date("Y",strtotime($transaction_date)))
{
$new_month_tag = true;
}
@@ -362,7 +362,7 @@
$transaction_currency = (isset($transaction['currency'])) ? $transaction['currency'] : "";
$new_month_tag = false;
if ($current_month != date("F",strtotime($transaction_date)))
if ($current_month != date("F",strtotime($transaction_date)) || $current_year != date("Y",strtotime($transaction_date)))
{
$new_month_tag = true;
}

読み込み中…
キャンセル
保存