Fix l10n.formatTimestamp so it accepts strings