Merge pull request #3360 from ZoneMinder/strftime_en_gb_format

Define Date formats in lang file for en_gb resolves #2408
This commit is contained in:
Isaac Connor 2021-09-27 10:58:43 -04:00 committed by GitHub
commit f54e779b21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -69,6 +69,11 @@
// setlocale( LC_CTYPE, 'en_GB' ); Character class settings 4.3.0 and after // setlocale( LC_CTYPE, 'en_GB' ); Character class settings 4.3.0 and after
// setlocale( LC_TIME, 'en_GB' ); Date and time formatting 4.3.0 and after // setlocale( LC_TIME, 'en_GB' ); Date and time formatting 4.3.0 and after
setlocale( LC_TIME, 'en_GB.utf8' );
define("DATE_FMT_CONSOLE_LONG", "%a %d %b, %Hh%M");
define( "STRF_FMT_DATETIME_SHORT", "%d/%m/%y %H:%M:%S" );
define( "STRF_FMT_DATETIME_SHORTER", "%x %H:%M:%S" );
// Simple String Replacements // Simple String Replacements
$SLANG = array( $SLANG = array(
'SystemLog' => 'System Log', 'SystemLog' => 'System Log',