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:
parent
3be669be32
commit
fbc97e712a
27 changed files with 60 additions and 59 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue