regress-9849.js 806 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// 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'});