mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-28 19:36:34 +00:00
Remove some deprecated procs from std/times (#14129)
This commit is contained in:
@@ -684,7 +684,7 @@ template uri*(address = "", absolute = true, addScriptName = true): untyped =
|
||||
|
||||
proc daysForward*(days: int): DateTime =
|
||||
## Returns a DateTime object referring to the current time plus ``days``.
|
||||
return getTime().utc + initInterval(days = days)
|
||||
return getTime().utc + initTimeInterval(days = days)
|
||||
|
||||
template setCookie*(name, value: string, expires="",
|
||||
sameSite: SameSite=Lax): typed =
|
||||
|
||||
Reference in New Issue
Block a user