Bugfix: Support for "e" (epoch) date format mask
Rendered as a 4-digit CE year in non-Excel outputs
This commit is contained in:
parent
e6ebb0facf
commit
57464cbf1a
|
@ -253,7 +253,7 @@ class PHPExcel_Shared_Date
|
||||||
} // function isDateTimeFormat()
|
} // function isDateTimeFormat()
|
||||||
|
|
||||||
|
|
||||||
private static $possibleDateFormatCharacters = 'ymdHs';
|
private static $possibleDateFormatCharacters = 'eymdHs';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is a given number format code a date/time?
|
* Is a given number format code a date/time?
|
||||||
|
|
|
@ -460,6 +460,7 @@ class PHPExcel_Style_NumberFormat implements PHPExcel_IComparable
|
||||||
// 12-hour suffix
|
// 12-hour suffix
|
||||||
'am/pm' => 'A',
|
'am/pm' => 'A',
|
||||||
// 4-digit year
|
// 4-digit year
|
||||||
|
'e' => 'Y',
|
||||||
'yyyy' => 'Y',
|
'yyyy' => 'Y',
|
||||||
// 2-digit year
|
// 2-digit year
|
||||||
'yy' => 'y',
|
'yy' => 'y',
|
||||||
|
|
|
@ -31,7 +31,8 @@ Fixed in SVN:
|
||||||
- Feature: (MBaker) Initial version of HTML Reader
|
- Feature: (MBaker) Initial version of HTML Reader
|
||||||
- Bugfix: (cyberconte) Patch 12318 - OOCalc cells containing <text:span> inside the <text:p> tag
|
- Bugfix: (cyberconte) Patch 12318 - OOCalc cells containing <text:span> inside the <text:p> tag
|
||||||
- Bugfix: (schir1964) Fix to listWorksheetInfo() method for OOCalc Reader
|
- Bugfix: (schir1964) Fix to listWorksheetInfo() method for OOCalc Reader
|
||||||
|
- Bugfix: (MBaker) Support for "e" (epoch) date format mask
|
||||||
|
Rendered as a 4-digit CE year in non-Excel outputs
|
||||||
|
|
||||||
2012-05-19 (v1.7.7):
|
2012-05-19 (v1.7.7):
|
||||||
- Bugfix: (Progi1984) Work item 8916 - Support for Rich-Text in PHPExcel_Writer_Excel5
|
- Bugfix: (Progi1984) Work item 8916 - Support for Rich-Text in PHPExcel_Writer_Excel5
|
||||||
|
|
Loading…
Reference in New Issue