Commit Graph
5 Commits
Author SHA1 Message Date
Tyler Gill 83a1dcfb64 Replace all instances of InvariantCultureIgnoreCase with OrdinalIgnoreCase in string comparisons.
InvariantCulture is useful when comparing / sorting human language strings in a culturely correct way. It handles things like accented letters in a way that makes sense to humans (e.g., 'a' should be sorted next to 'á', rather than after 'z').
Ordinal looks just at the raw code points of the characters. As such, it is recommended for use in cases when comparing system strings (file paths, command line parameters, config settings, etc.). Since it doesn't need to use the culture specific sorting rules, this method can often be faster.

For more information, see https://stackoverflow.com/questions/492799/difference-between-invariantculture-and-ordinal-string-comparison (and other related questions)
2017-09-18 23:55:08 -06:00
Kenneth Skovhede 8d13e698eb Updated copyright notices 2015-01-20 21:44:52 +01:00
Kenneth Skovhede f61cb2a303 Bugfix for parsing AllowedWeekdays 2014-03-05 15:29:14 +01:00
Kenneth Skovhede 251b598441 Fixed a missing interface declaration 2014-03-04 15:38:13 +01:00
Kenneth Skovhede d14ec9432f Rewrote the storage of backup setups 2013-11-23 14:26:36 +01:00