|
@@ -24,7 +24,7 @@ func (t TimeText) Value() (driver.Value, error) {
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
- return TimeText(t1.Format(timeFormat)), nil
|
|
|
+ return t1, nil
|
|
|
}
|
|
|
|
|
|
|
|
@@ -43,7 +43,7 @@ func (t DateText) Value() (driver.Value, error) {
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
|
- return DateText(t1.Format(dateFormat)), nil
|
|
|
+ return t1, nil
|
|
|
}
|
|
|
|
|
|
|