From 20cfdbeb759a3abcca25098e7491e7a5674e07bf Mon Sep 17 00:00:00 2001 From: Ehsan Date: Tue, 26 Apr 2016 21:22:10 +0430 Subject: [PATCH] little change for Jalali hook : https://github.com/EhsanCh/whmcs-jalalidate --- announcements.tpl | 2 +- homepage.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/announcements.tpl b/announcements.tpl index 0d25089f..76c7faae 100644 --- a/announcements.tpl +++ b/announcements.tpl @@ -17,7 +17,7 @@

- {"M jS"|date:$announcement.timestamp} + {if $jdate}{$announcement.date}{else}{"M jS"|date:$announcement.timestamp}{/if} {$announcement.title}

diff --git a/homepage.tpl b/homepage.tpl index 95ffcf42..7ea9ef46 100644 --- a/homepage.tpl +++ b/homepage.tpl @@ -17,7 +17,7 @@

- {$announcement.rawDate|date_format:"M jS"} + {if $jdate}{$announcement.date}{else}{$announcement.rawDate|date_format:"M jS"}{/if} {$announcement.title}