Skip to main content

view

Function view 

Source
pub(crate) fn view(what: &str) -> String
Expand description

The sheet for what (“work”, “night”), as JSON: its title and the day it closes; how the day started and went, in words; for the night the work’s review, tomorrow’s first step and the day’s balance; the answers already given (closed once, the sheet opens on them); the notes of the last days. A notice’s press carries its day (“work:2026-10-14”): pressed once the day turned (05:00 for the work day, the evening for the night), it opens nothing (“null”), rather than the sheet of a day not begun.