move since from inclrtl to std/private/since (#14188)

* move since from inclrtl to std/private/since
* move since import in system below for HCR
This commit is contained in:
hlaaftana 2020-05-03 00:51:59 +03:00 • committed by GitHub
commit fbc97e712a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 60 additions and 59 deletions

View file

@ -194,6 +194,7 @@
import strutils, math, options
import std/private/since
include "system/inclrtl"
when defined(js):
@ -980,7 +981,7 @@ proc low*(typ: typedesc[Time]): Time =
# DateTime & Timezone
#
proc isLeapDay*(t: DateTime): bool {.since: (1,1).} =
proc isLeapDay*(t: DateTime): bool {.since: (1, 1).} =
## returns whether `t` is a leap day, ie, Feb 29 in a leap year. This matters
## as it affects time offset calculations.
runnableExamples: