Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 691 Bytes

File metadata and controls

17 lines (11 loc) · 691 Bytes

scriptable-time-progress-lockscreen-widget

A simple, scriptable widget for the lock screen that shows the exact progress in time between two dates.

Configuration

The number of decimal places, the heading and of course the start and end date can be adjusted in the script.

const DECIMAL_PLACES = 6;
const HEADLINE = "Title";
const START_DATE = new Date(2023, 0, 1, 12, 0, 0, 0);   // Date(year, month, day, hours, minutes, seconds, milliseconds);
const END_DATE = new Date(2023, 3, 14, 16, 25, 34);     // 2023-04-14T16:25:34