update time
This commit is contained in:
1 parent
df87cfe22e
commit
4439ccd7bb
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { Variable, GLib } from "astal"
|
||||
|
||||
export default function Time({ format = "%H:%M - %A %e" }) {
|
||||
export default function Time({ format = "%A %e, %H:%M" }) {
|
||||
const time = Variable<string>("").poll(1000, () =>
|
||||
GLib.DateTime.new_now_local().format(format)!)
|
||||
|
||||
|
||||
Reference in new issue
Block a user