package timedesc-tzlocal-js
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
JS implementation for timedesc-tzlocal
Install
dune-project
Dependency
Authors
Maintainers
Sources
timedesc-3.1.2.tar.gz
sha256=8577628c6634aaefa92d1d97b4afca2fd817bc2b2d6d979da35dfbf65a80d6bd
doc/src/timedesc-tzlocal-js/timedesc_tzlocal.ml.html
Source file timedesc_tzlocal.ml
1 2 3 4 5 6open Js_of_ocaml let local () = let formatter = new%js Intl.dateTimeFormat_constr Js.undefined Js.undefined in let tz = Js.to_string (formatter##resolvedOptions ())##.timeZone in [ tz ]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>