[firefoxos] Added initial support for stringToDate