Skip to main content

current

Function current 

Source
pub async fn current(task_manager: &Manager, task: TaskIdentifier) -> TimeZone
Expand description

The time zone of a task: its TZ variable, parsed. UTC when the task has no TZ or when it does not parse.

Native programs call it again when they update a display, so that they follow a change made through set. It reads one variable and parses one short string; it does not touch the file system.