summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorOscar NihlgÄrd <oscarnihlgard@gmail.com>2020-04-27 14:42:29 +0200
committerGitHub <noreply@github.com>2020-04-27 14:42:29 +0200
commit664cb2c0be4e31d40cd3a5a2b9013f1afe47df97 (patch)
treecd9233a354be76bc13e4f5b40877ef313f5f2c3e /tests
parentb8d7a98265161ff281815b2c23e02aae3e5d9862 (diff)
downloadNim-664cb2c0be4e31d40cd3a5a2b9013f1afe47df97.tar.gz
Remove some deprecated procs from std/times (#14129)
Diffstat (limited to 'tests')
-rw-r--r--tests/deps/jester-#head/jester.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/deps/jester-#head/jester.nim b/tests/deps/jester-#head/jester.nim
index 013f0d16d..d9db50856 100644
--- a/tests/deps/jester-#head/jester.nim
+++ b/tests/deps/jester-#head/jester.nim
@@ -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 =