sklose / NCalc2

expression evaluator for .NET with built-in compiler
MIT License
170 stars 58 forks source link

DateTime parsing CultureInfo.InvariantCulture #24

Closed Thaina closed 5 years ago

Thaina commented 5 years ago

should use CultureInfo.InvariantCulture in parsing?

Some culture not parse year in CE (my machine locale parse year in Buddhist Era)

sklose commented 5 years ago

Hi,

same comment as for the other PR :-) ... would need to find a different way to fix this than in the auto generated file.