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] [package]
name = "bootstrap-rs" name = "bootstrap-rs"
version = "0.2.7" version = "0.2.8"
authors = ["Thomas Gideon <cmdln@thecommandline.net>"] authors = ["Thomas Gideon <cmdln@thecommandline.net>"]
edition = "2018" edition = "2018"

View file

@ -12,6 +12,7 @@ use yew::prelude::*;
pub enum InputType { pub enum InputType {
Text, Text,
Date, Date,
DateTime,
Checkbox, Checkbox,
Color, Color,
} }
@ -21,6 +22,7 @@ impl Display for InputType {
match self { match self {
Self::Text => write!(f, "text"), Self::Text => write!(f, "text"),
Self::Date => write!(f, "date"), Self::Date => write!(f, "date"),
Self::DateTime => write!(f, "datetime-local"),
Self::Checkbox => write!(f, "checkbox"), Self::Checkbox => write!(f, "checkbox"),
Self::Color => write!(f, "color"), Self::Color => write!(f, "color"),
} }