Add local date time.

This commit is contained in:
Thomas Gideon 2020-06-21 15:58:26 -04:00
parent 6236cf6ae9
commit 271713ded1
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "bootstrap-rs"
version = "0.2.7"
version = "0.2.8"
authors = ["Thomas Gideon <cmdln@thecommandline.net>"]
edition = "2018"

View file

@ -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"),
}