mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 01:33:19 +00:00
Add Source creation/edition + Add missing edit forms for tasks and events
This commit is contained in:
parent
f1ac8a42d1
commit
a15c23bb21
24 changed files with 358 additions and 205 deletions
|
@ -9,6 +9,9 @@ export global Utils {
|
|||
}
|
||||
|
||||
public pure function time-to-string(time: Time) -> string {
|
||||
return "\{format-zero-padding(time.hour)}h\{format-zero-padding(time.minute)}";
|
||||
if (time.minute == 0) {
|
||||
return "\{time.hour}";
|
||||
}
|
||||
return "\{time.hour}:\{format-zero-padding(time.minute)}";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue