Skip to content

Commit d2d76cb

Browse files
committed
[feat] Integrate dayjs with UTC plugin for date handling
1 parent 0f63084 commit d2d76cb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ import "@telekom/scale-components/dist/scale-components/scale-components.css";
22
import "./index.css";
33

44
import { defineCustomElements } from "@telekom/scale-components/loader";
5+
import dayjs from "dayjs";
6+
import utc from "dayjs/plugin/utc";
57
import { createRoot } from "react-dom/client";
68
import { App } from "./App";
79

10+
dayjs.extend(utc);
811
defineCustomElements();
912

1013
const container = document.querySelector("#root")!;

0 commit comments

Comments
 (0)