Doc improvements (#6)

* add default datetime format, fix default format usage
* fixed format tests
* make reference time configurable
* improve doc
This commit is contained in:
T.v.Dein
2025-09-25 22:13:40 +02:00
committed by GitHub
parent ef4cc8b84b
commit d138af85f3
7 changed files with 162 additions and 40 deletions

View File

@@ -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)
}