Bugfixes and freedback addressing 2

This commit is contained in:
2017-10-11 08:14:17 +02:00
parent e31d994d4b
commit 60c6df5bbf
7 changed files with 32 additions and 39 deletions
+1
View File
@@ -45,6 +45,7 @@ func Select(value string, target *string, allowedValues []string, optional bool)
func Date(value string, target *time.Time, optional bool) error {
if value == "" {
if optional {
*target = time.Time{}
return nil
}