mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-22 15:48:44 +05:00
Updated config for registrarc
This commit is contained in:
committed by
Dan Christian Bogos
parent
038aa5f2ea
commit
54ee982314
@@ -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, "+")
|
||||
|
||||
Reference in New Issue
Block a user