Fixing `string` method

`string` relies on a date formatter that uses the current locale, instead of a non-customized locale.