From 89b637e9f54df79ddb19b761400605c19a90b615 Mon Sep 17 00:00:00 2001 From: danpros Date: Sat, 25 Nov 2023 13:23:23 +0700 Subject: [PATCH] Switch between date and IntlDateFormatter --- config/config.ini.example | 2 +- system/admin/views/backup.html.php | 8 +++++++- system/admin/views/config.html.php | 34 ++++++++++++++++++++-------------- system/htmly.php | 4 ++-- system/includes/functions.php | 20 ++++++++++++-------- 5 files changed, 42 insertions(+), 26 deletions(-) diff --git a/config/config.ini.example b/config/config.ini.example index 02d0afe..d824745 100644 --- a/config/config.ini.example +++ b/config/config.ini.example @@ -5,7 +5,7 @@ site.url = "" timezone = "Asia/Jakarta" ; Date format. See: https://www.php.net/manual/en/function.strftime -date.format = "%d %B %Y" +date.format = "d F Y" ; Your language (example "en_US" for English or "de_DE" for German. See lang directory for available language) language = "en_US" diff --git a/system/admin/views/backup.html.php b/system/admin/views/backup.html.php index 62df54f..bf9702e 100644 --- a/system/admin/views/backup.html.php +++ b/system/admin/views/backup.html.php @@ -11,8 +11,14 @@ if (login()) { } } ?> + +
+
Note:
+Please install the ZIP extension to use the backup feature. +
+


- +

\ No newline at end of file diff --git a/system/admin/views/config.html.php b/system/admin/views/config.html.php index 67da930..94bd602 100644 --- a/system/admin/views/config.html.php +++ b/system/admin/views/config.html.php @@ -1,6 +1,12 @@


+ +
+
Note:
+Please install and enable the INTL extension to format the date format to your local language. +
+