Compare commits

..

1 Commits

Author SHA1 Message Date
5f2795f5d2 Have DateTimeWidget include the time zone in its type. 2019-09-30 15:51:42 -07:00

View File

@ -22,7 +22,7 @@ pub struct TimeColor {
impl DateTimeWidget<Local> {
pub fn new(fmt: String) -> Self {
DateTimeWidget::tz(fmt, Local)
DateTimeWidget::<Local>::tz(fmt, Local)
}
}