Add ui simple helpers

This commit is contained in:
Matthias Beyer 2016-05-28 17:51:45 +02:00
parent b817f1ba46
commit 42b79bb0ee

12
libimagtimeui/src/ui.rs Normal file
View 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.
"#
}