eyeonus / Trade-Dangerous

Mozilla Public License 2.0
96 stars 31 forks source link

Fixes incorrect locale-based parsing in eddblink #150

Closed ultimatespirit closed 2 months ago

ultimatespirit commented 2 months ago

A recent change was made to support non-English locale users with the eddblink date parsing functions, which relied upon locale-specific parsing. Unfortunately the submitted solution for that issue made further locale-specific assumptions that break in different ways.

This change changes the system to instead parse the dates in a locale-agnostic manner.

Tested by running the eddblink plugin on my system and seeing it was no longer broken.

This change fixes #149