From 047c36f1cabb22bb8c423b47bf39896c664caffe Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Mon, 1 Jul 2024 18:20:31 +0100 Subject: [PATCH] Update roles/home/aichat.nix --- roles/home/aichat.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/home/aichat.nix b/roles/home/aichat.nix index 10618fe..b2f891c 100644 --- a/roles/home/aichat.nix +++ b/roles/home/aichat.nix @@ -61,8 +61,8 @@ roles = '' @@ -5,7 +5,7 @@ export function formatDate(date) { const month = String(date.getMonth() + 1).padStart(2, '0'); const day = String(date.getDate()).padStart(2, '0'); - - return `${year}-${month}-${day}`; - + return `${year}/${month}/${day}`; + - return `$${year}-$${month}-$${day}`; + + return `$${year}/$${month}/$${day}`; } ### OUTPUT: