package lunar
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A very small date management library
Install
dune-project
Dependency
Authors
Maintainers
Sources
lunar-1.3.0.tbz
sha256=cc0dc0ca027423d1892392872f7be35ff2c1acc5579ddf895b60cd6c77534e4a
sha512=5a252698e6bf0eb23f41d61c5b56deee03c8e7ccc7dca11145388e9cf1a12e5046c3cb09ee3472fe67dca700387aa108616c9eb128e154faec0f6d11eaaf010a
doc/lunar.unix/Lunar_unix/index.html
Module Lunar_unixSource
Helpers for using Lunar with the Unix module, including functions to calculate the offset of the current time zone (of the process running the program) and the time t.
from_tm unix_tm converts a Unix datetime (Unix.tm) to a Lunar.Datetime.t.
utc time returns the UTC zoned datetime corresponding to the given time.
local time returns the local zoned datetime corresponding to the given time.
tz time compute the current tz-offset of the running process.
tz_now () returns the current timezone offset.
utc_now () returns the current datetime zoned to UTC.
local_now () returns the current datetime zoned to tz time.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>