mirror of
https://codeberg.org/scip/ts.git
synced 2025-12-17 12:31:06 +01:00
add default datetime format, fix default format usage
This commit is contained in:
@@ -87,7 +87,7 @@ func (datetime TPdatetime) String() string {
|
||||
case "datetime":
|
||||
fallthrough
|
||||
case "":
|
||||
return datetime.Data.String()
|
||||
return datetime.Data.Format(DefaultFormat)
|
||||
default:
|
||||
return datetime.Data.Format(datetime.Format)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user