summaryrefslogtreecommitdiff
path: root/js/src/builtin/intl/IntlObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/builtin/intl/IntlObject.cpp')
-rw-r--r--js/src/builtin/intl/IntlObject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/builtin/intl/IntlObject.cpp b/js/src/builtin/intl/IntlObject.cpp
index 893eb5ce40..c415079ae3 100644
--- a/js/src/builtin/intl/IntlObject.cpp
+++ b/js/src/builtin/intl/IntlObject.cpp
@@ -30,6 +30,7 @@
using namespace js;
using js::intl::CallICU;
+using js::intl::DateTimeFormatOptions;
using js::intl::GetAvailableLocales;
using js::intl::IcuLocale;
using js::intl::INITIAL_CHAR_BUFFER_SIZE;
@@ -455,7 +456,7 @@ GlobalObject::initIntlObject(JSContext* cx, Handle<GlobalObject*> global)
if (!collatorProto)
return false;
RootedObject dateTimeFormatProto(cx), dateTimeFormat(cx);
- dateTimeFormatProto = CreateDateTimeFormatPrototype(cx, intl, global, &dateTimeFormat);
+ dateTimeFormatProto = CreateDateTimeFormatPrototype(cx, intl, global, &dateTimeFormat, DateTimeFormatOptions::Standard);
if (!dateTimeFormatProto)
return false;
RootedObject numberFormatProto(cx), numberFormat(cx);