From 874696d394b69e052c4363c4d6109af1dec8fb1f Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Fri, 14 Mar 2025 13:00:59 +0700 Subject: [PATCH] updated time --- widget/modules/Time/Time.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/widget/modules/Time/Time.tsx b/widget/modules/Time/Time.tsx index 1577647..3374a6b 100644 --- a/widget/modules/Time/Time.tsx +++ b/widget/modules/Time/Time.tsx @@ -1,12 +1,14 @@ -import { Variable, GLib } from "astal" +import { Variable, GLib } from "astal"; export default function Time({ format = "%A %e, %H:%M" }) { - const time = Variable("").poll(1000, () => - GLib.DateTime.new_now_local().format(format)!) + const time = Variable("").poll( + 1000, + () => GLib.DateTime.new_now_local().format(format)!, + ); - return