Index: src/extensions/experimental/i18n-extension.cc |
=================================================================== |
--- src/extensions/experimental/i18n-extension.cc (revision 7878) |
+++ src/extensions/experimental/i18n-extension.cc (working copy) |
@@ -29,6 +29,7 @@ |
#include "break-iterator.h" |
#include "collator.h" |
+#include "datetime-format.h" |
#include "i18n-locale.h" |
#include "natives.h" |
@@ -59,6 +60,8 @@ |
return v8::FunctionTemplate::New(BreakIterator::JSBreakIterator); |
} else if (name->Equals(v8::String::New("NativeJSCollator"))) { |
return v8::FunctionTemplate::New(Collator::JSCollator); |
+ } else if (name->Equals(v8::String::New("NativeJSDateTimeFormat"))) { |
+ return v8::FunctionTemplate::New(DateTimeFormat::JSDateTimeFormat); |
} |
return v8::Handle<v8::FunctionTemplate>(); |