DescriptionMake FileSystemDirURLRequestJobTest locale-invulnerable
The format of the date in directory listing entry depends on the current
locale. In some countries (for example Poland) DD.mm.YYYY format is used.
base::Time::FromString() internally uses PR_ParseTimeString() from NSPR
library which doesn't support this format (date with dots as separators).
Use icu::DateFormat instead which is able to parse such kind of date
format.
BUG=
Committed: https://crrev.com/d20733a2d4a1ead1db7d9175fcaa789d33f93082
Cr-Commit-Position: refs/heads/master@{#340050}
Patch Set 1 #Patch Set 2 : Use createDateTimeInstance() + initialize status #Messages
Total messages: 16 (7 generated)
|