Fix browser tests using Date.now and missing locales