Open manentai opened 6 months ago
extensions [time] globals [ my-time ] to setup ca reset-ticks set my-time time:create-with-format "01-01-2023" "dd-MM-YYYY" print my-time print time:show my-time "dd-MM-YYYY" tick set my-time time:plus my-time 15 "days" print time:show my-time "dd-MM-YYYY" end
output is
observer> setup {{time:logotime 01-01-2023}} 01-01-2022 16-01-2023
the year is wrong in the first time:show
time:show
output is
the year is wrong in the first
time:show