Datetime Current
ScriptWidget template.
Example
//
// ScriptWidget
// https://xnu.app/scriptwidget
//
// Clock Template
//
// Description: Display Clock Time
//
$render(
<vstack background="yellow" frame="max,center">
<date font="title" date="start of today" style="timer" alignment="center" />
</vstack>
);
Templates live in
Shared/ScriptWidgetRuntime/Resource/Script.bundle/template/ and can be imported directly into the app.