Remove text suffix in XLSX date formats (#341)
Some date formats have a text suffix, e.g. "mm/dd/yy;@". We should remove the ";...@" part.
This commit is contained in:
1 parent
687c321363
commit
73d5d0ea17
2 files changed
+5
-1
No files matched your search
@@ -29,6 +29,8 @@ class DateFormatHelperTest extends \PHPUnit_Framework_TestCase
|
||||
['[$USD-F480]hh:mm AM/PM', 'h:i A'],
|
||||
['"Day " d', '\\D\\a\\y\\ j'],
|
||||
['yy "Year" m "Month"', 'y \\Y\\e\\a\\r n \\M\\o\\n\\t\\h'],
|
||||
['mmm-yy;@', 'M-y'],
|
||||
['[$-409]hh:mm AM/PM;"foo"@', 'h:i A'],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user