Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Jan 16, 2025
1 parent 4d0538c commit f635eb4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 26 deletions.
12 changes: 5 additions & 7 deletions Source/Function/Commit/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,9 @@ const UUID = _UUID();
// @ts-expect-error
new DataTable(`#${UUID}`);

document
.querySelectorAll<HTMLSpanElement>("span[data-date]")
.forEach((element) => {
element.textContent = new Date(
element.dataset["date"] as string,
).toLocaleDateString();
});
// document.querySelectorAll("span[data-date]").forEach((element) => {
// element.textContent = new Date(
// element.dataset["date"],
// ).toLocaleDateString();
// });
</script>
36 changes: 17 additions & 19 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
// "baseUrl": "./",
// "emitDeclarationOnly": false,
// "jsx": "preserve",
// "jsxFactory": "createComponent",
// "jsxFragmentFactory": "Fragment",
// "jsxImportSource": "solid-js",
// "lib": ["ESNext", "DOM", "DOM.Iterable"],
// "moduleResolution": "Bundler",
// "noEmit": true,
// "outDir": "Target",
// "rootDir": ".",
// // "types": ["astro/client", "astro/env"],
// "plugins": [
// {
// "name": "@astrojs/ts-plugin"
// }
// ],

"baseUrl": "./",
"emitDeclarationOnly": false,
"jsx": "preserve",
"jsxFactory": "createComponent",
"jsxFragmentFactory": "Fragment",
"jsxImportSource": "solid-js",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"moduleResolution": "Bundler",
"noEmit": true,
"outDir": "Target",
"rootDir": ".",
"types": ["astro/client", "astro/env"],
"plugins": [
{
"name": "@astrojs/ts-plugin"
}
]
},
"extends": "@playform/build/tsconfig",
// "extends": "astro/tsconfigs/base",
"include": ["Source", ".astro/types.d.ts"],
"exclude": ["Target"]
}

0 comments on commit f635eb4

Please sign in to comment.