Skip to content
Snippets Groups Projects
Verified Commit 33bc1043 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: wip new pipeline

parent 46d86541
No related branches found
No related tags found
No related merge requests found
...@@ -203,14 +203,19 @@ describe('Transformer', function () { ...@@ -203,14 +203,19 @@ describe('Transformer', function () {
it('Transformer.run(' + JSON.stringify(a) + ').run(' + JSON.stringify(b) + ') should return ' + JSON.stringify(c), function () { it('Transformer.run(' + JSON.stringify(a) + ').run(' + JSON.stringify(b) + ') should return ' + JSON.stringify(c), function () {
const args=[b,c]
let date = new Date(b);
const options = { const options = {
dateStyle: "medium", dateStyle: args.shift() || "medium",
timeStyle: "medium" timeStyle: args.shift() || "medium",
}; };
let locale = getLocaleOfDocument();
console.log(locale,'localelocalelocalelocalelocale')
const intl= new Intl.DateTimeFormat("de", options).format(new Date("2023-02-04 08:02:01")); console.log(options,'options')
const locale = getLocaleOfDocument();
const intl= new Intl.DateTimeFormat(locale, options).format(new Date("2023-02-04 08:02:01"));
console.log(intl,'intl') console.log(intl,'intl')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment