Remove nimcall pragma from tz procs
This commit is contained in:
parent
c344fb311d
commit
c098ee3c7a
1 changed files with 2 additions and 2 deletions
|
|
@ -129,8 +129,8 @@ type
|
||||||
## The ``times`` module only supplies implementations for the systems local time and UTC.
|
## The ``times`` module only supplies implementations for the systems local time and UTC.
|
||||||
## The members ``zoneInfoFromUtc`` and ``zoneInfoFromTz`` should not be accessed directly
|
## The members ``zoneInfoFromUtc`` and ``zoneInfoFromTz`` should not be accessed directly
|
||||||
## and are only exported so that ``Timezone`` can be implemented by other modules.
|
## and are only exported so that ``Timezone`` can be implemented by other modules.
|
||||||
zoneInfoFromUtc*: proc (time: Time): ZonedTime {.nimcall, tags: [], raises: [], benign, closure.}
|
zoneInfoFromUtc*: proc (time: Time): ZonedTime {.tags: [], raises: [], benign.}
|
||||||
zoneInfoFromTz*: proc (adjTime: Time): ZonedTime {.nimcall, tags: [], raises: [], benign, closure.}
|
zoneInfoFromTz*: proc (adjTime: Time): ZonedTime {.tags: [], raises: [], benign.}
|
||||||
name*: string ## The name of the timezone, f.ex 'Europe/Stockholm' or 'Etc/UTC'. Used for checking equality.
|
name*: string ## The name of the timezone, f.ex 'Europe/Stockholm' or 'Etc/UTC'. Used for checking equality.
|
||||||
## Se also: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
## Se also: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||||
ZonedTime* = object ## Represents a zooned instant in time that is not associated with any calendar.
|
ZonedTime* = object ## Represents a zooned instant in time that is not associated with any calendar.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue