form fixes

This commit is contained in:
Peter Schojer
2008-09-01 08:01:40 +00:00
parent 716d71c833
commit b741f069ce
4 changed files with 42 additions and 7 deletions

View File

@@ -70,6 +70,8 @@ void TimeFieldCell::setFormat(TimeField::Format fmt)
_format = "%h:%M:%S %A";
else if (_fmt == TimeField::FMT_24H_WITHSECONDS)
_format = "%H:%M:%S";
else if (_fmt == TimeField::FMT_12H)
_format = "%H:%M";
setFormatter(new DateFormatter(_format));
}
}