-
Notifications
You must be signed in to change notification settings - Fork 78
/
_config.php
executable file
·25 lines (20 loc) · 1.05 KB
/
_config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
global $customDateTemplates;
$customDateTemplates = array(
/*
You can modify the date display by assigning new date templates to any of the following
date scenarios. Use the above date format keys.
'OneDay' => '$StartMonthNameShort. $StartDayNumberShort, $StartYearLong'
'SameMonthSameYear' => '$StartMonthNameShort. $StartDayNumberShort - $EndDatNumberShort, $EndYearLong'
'DiffMonthSameYear' => '$StartMonthNameShort. $StartDayNumberShort - $EndMonthNameShort. $EndDayNumberShort, $EndYearLong'
'DiffMonthDiffYear' => '$StartMonthNameShort. $StartDayNumberShort, $StartYearLong - $EndMonthNameShort $EndDayNumberShort, $EndYearLong'
'OneDayHeader' => '$StartMonthNameLong $StartDayNumberShort$StartDaySuffix, $StartYearLong'
'MonthHeader' => '$StartMonthNameLong, $StartYearLong'
'YearHeader' => '$StartYearLong'
*/
);
// Ensure compatibility with PHP 7.2 ("object" is a reserved word),
// with SilverStripe 3.6 (using Object) and SilverStripe 3.7 (using SS_Object)
if (!class_exists('SS_Object')) {
class_alias('Object', 'SS_Object');
}