Fix bug described in issue #41 where the formatted date was incorrect when the format started with "[$-F800]".
Even if not really documented (or very hard to find), locale id F800 seems to refer to the system long date.
This PR adds code to parse totally the locale id, and use it in the parser for date and time.
When parsing the date, if the locale id is F800, then the culture LongDatePattern is used instead of the tokens found with the tokeniser.
When parsing the date, the tokens are replaced with tokens generated from the culture LongTimePattern.
Fix bug described in issue #41 where the formatted date was incorrect when the format started with "[$-F800]".
Even if not really documented (or very hard to find), locale id F800 seems to refer to the system long date. This PR adds code to parse totally the locale id, and use it in the parser for date and time.
When parsing the date, if the locale id is F800, then the culture LongDatePattern is used instead of the tokens found with the tokeniser.
When parsing the date, the tokens are replaced with tokens generated from the culture LongTimePattern.