mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-24 09:09:22 +00:00
Doc Block changes
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@88003 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
@@ -449,6 +449,11 @@ class PHPExcel_Style_NumberFormat implements PHPExcel_IComparable
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Search/replace values to convert Excel date/time format masks to PHP format masks
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private static $_dateFormatReplacements = array(
|
||||
// first remove escapes related to non-format characters
|
||||
'\\' => '',
|
||||
@@ -483,10 +488,20 @@ class PHPExcel_Style_NumberFormat implements PHPExcel_IComparable
|
||||
// fractional seconds - no php equivalent
|
||||
'.s' => ''
|
||||
);
|
||||
/**
|
||||
* Search/replace values to convert Excel date/time format masks hours to PHP format masks (24 hr clock)
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private static $_dateFormatReplacements24 = array(
|
||||
'hh' => 'H',
|
||||
'h' => 'G'
|
||||
);
|
||||
/**
|
||||
* Search/replace values to convert Excel date/time format masks hours to PHP format masks (12 hr clock)
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
private static $_dateFormatReplacements12 = array(
|
||||
'hh' => 'h',
|
||||
'h' => 'g'
|
||||
|
||||
Reference in New Issue
Block a user