PhpSpreadsheet/tests/data/Style
Derek Bonner 01501b6ff2 Remove locale from format string to prevent formatting error (#644)
When a formatting string has a locale in it an error can occur when outputting. For example when the format string with a locale such as `[$-1010409]#,##0.00;-#,##0.00` appears, a value of 9.98 comes back as $9.98. This is because at https://github.com/PHPOffice/PhpSpreadsheet/blob/1.4.0/src/PhpSpreadsheet/Style/NumberFormat.php#L711 the numberFormat regex will match to the zeros inside the locale ([$-1010409]). Attempts to adjust the numberFormat regex caused regressions in other tests. Adding another step to filter out the locale caused no regression.
2018-09-28 21:28:40 +09:00
..
ColorChangeBrightness.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
ColorGetBlue.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
ColorGetGreen.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
ColorGetRed.php Use proper syntax for variadic functions 2017-01-23 15:01:20 +09:00
NumberFormat.php Remove locale from format string to prevent formatting error (#644) 2018-09-28 21:28:40 +09:00
NumberFormatDates.php Remove locale from format string to prevent formatting error (#644) 2018-09-28 21:28:40 +09:00