Updated config for registrarc

This commit is contained in:
Trial97
2021-03-01 16:55:34 +02:00
committed by Dan Christian Bogos
parent 038aa5f2ea
commit 54ee982314
37 changed files with 495 additions and 425 deletions

View File

@@ -275,7 +275,7 @@ func ParseTimeDetectLayout(tmStr string, timezone string) (time.Time, error) {
return time.ParseInLocation("02/01/2006 15:04:05", tmStr, loc)
case broadsoftTimestampRule.MatchString(tmStr):
return time.ParseInLocation("20060102150405.999", tmStr, loc)
case tmStr == "*now":
case tmStr == MetaNow:
return time.Now(), nil
case strings.HasPrefix(tmStr, "+"):
tmStr = strings.TrimPrefix(tmStr, "+")