Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide time and/or date access #37

Open
dbuenzli opened this issue Sep 3, 2022 · 1 comment
Open

Provide time and/or date access #37

dbuenzli opened this issue Sep 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@dbuenzli
Copy link
Owner

dbuenzli commented Sep 3, 2022

At least

let now () =
  let d = Jv.new' (Jv.get Jv.global "Date") [||] in
  Jv.to_float (Jv.call d "getTime" [||])
@dbuenzli dbuenzli added the enhancement New feature or request label Sep 3, 2022
@dbuenzli
Copy link
Owner Author

Keeping an eye on the Temporal proposal but progress seems slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant