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

Support JavaScript Back End #256

Open
tysonzero opened this issue May 9, 2024 · 2 comments
Open

Support JavaScript Back End #256

tysonzero opened this issue May 9, 2024 · 2 comments
Milestone

Comments

@tysonzero
Copy link

tysonzero commented May 9, 2024

I get ReferenceError: h$get_current_timezone_seconds is not defined, presumably due to the following code:

{-# CFILES cbits/HsTime.c #-}
foreign import ccall unsafe "HsTime.h get_current_timezone_seconds"
    get_current_timezone_seconds ::
        CTime -> Ptr CInt -> Ptr CString -> IO CLong
@AshleyYakeley
Copy link
Member

Hmm, does getting the current time even work?

@AshleyYakeley AshleyYakeley changed the title getCurrentTimeZone fails with js backend Support JavaScript Back End May 9, 2024
@AshleyYakeley AshleyYakeley added this to the Next milestone May 9, 2024
@tysonzero
Copy link
Author

Yep getCurrentTime works fine!

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

No branches or pull requests

2 participants