Add ui simple helpers
This commit is contained in:
parent
b817f1ba46
commit
42b79bb0ee
1 changed files with 12 additions and 0 deletions
12
libimagtimeui/src/ui.rs
Normal file
12
libimagtimeui/src/ui.rs
Normal file
|
@ -0,0 +1,12 @@
|
|||
pub fn time_ui_fmtstr() -> &'static str {
|
||||
"YYYY-MM-DD[THH[:mm[:ss]]]"
|
||||
}
|
||||
|
||||
pub fn time_ui_fmtstr_expl() -> &'static str {
|
||||
#r"In the UI, the format for Time is always YEAR-MONTH-DAY.
|
||||
Optionally, Time can be specified by seperating it from the date with 'T'.
|
||||
Minutes and Seconds are optional.
|
||||
"#
|
||||
}
|
||||
|
||||
|
Loading…
Reference in a new issue