Add local date time.
This commit is contained in:
parent
6236cf6ae9
commit
271713ded1
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "bootstrap-rs"
|
||||
version = "0.2.7"
|
||||
version = "0.2.8"
|
||||
authors = ["Thomas Gideon <cmdln@thecommandline.net>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ use yew::prelude::*;
|
|||
pub enum InputType {
|
||||
Text,
|
||||
Date,
|
||||
DateTime,
|
||||
Checkbox,
|
||||
Color,
|
||||
}
|
||||
|
@ -21,6 +22,7 @@ impl Display for InputType {
|
|||
match self {
|
||||
Self::Text => write!(f, "text"),
|
||||
Self::Date => write!(f, "date"),
|
||||
Self::DateTime => write!(f, "datetime-local"),
|
||||
Self::Checkbox => write!(f, "checkbox"),
|
||||
Self::Color => write!(f, "color"),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue