787cd95fef
Bug: v8:9849 Change-Id: Ib7812e27dcacb30fd2610badbf79dee190fdec15 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1869078 Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Frank Tang <ftang@chromium.org> Cr-Commit-Position: refs/heads/master@{#64436}
16 lines
806 B
JavaScript
16 lines
806 B
JavaScript
// Copyright 2019 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
let d = new Date(271733878);
|
|
d.toLocaleString('en-u-nu-arab');
|
|
d.toLocaleString('en-u-nu-arab', {dateStyle : 'full', timeStyle : 'full'});
|
|
d.toLocaleString('en-u-nu-roman');
|
|
d.toLocaleString('en-u-nu-roman', {dateStyle : 'full', timeStyle : 'full'});
|
|
d.toLocaleString('sr-u-nu-roman');
|
|
d.toLocaleString('sr-u-nu-roman', {dateStyle : 'full', timeStyle : 'full'});
|
|
d.toLocaleString('sr-Cyrl-u-nu-roman');
|
|
d.toLocaleString('sr-Cyrl-u-nu-roman', {dateStyle : 'full', timeStyle : 'full'});
|
|
d.toLocaleString('zh-u-nu-roman', {dateStyle : 'full', timeStyle : 'full'});
|
|
d.toLocaleString('ja-u-nu-cyrl', {dateStyle : 'full', timeStyle : 'full'});
|