-
Notifications
You must be signed in to change notification settings - Fork 79
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
scalaJS support #82
Comments
I think so, too. However, since nscala-time heavily depends on joda-time, unless joda-time for JavaScript (:- is provided, We cannot support scalaJS. |
Is there a label for maybe in the future or depends on external stuff? I would attach this to this issue. |
Hmmm. Certainly, there should be such label. |
@wookietreiber A little while ago, I created a label |
Yeah, sure, looks good. |
I don't know much about how scala-js works, but just as a thought: Will scala-js support come easier if #85 gets implemented? I.e. is it possible with scala-js to make use of the std java stuff? |
I don't think so. scala-js does not support Java8 datetime API yet. see https://github.com/scala-js/scala-js/tree/v0.6.4/javalib/src/main/scala/java |
Just letting you guys know, that I am creating a port of jodatime to Scala/Scala.js. Currently in very alpha stage (got it to compile!), but that may be another avenue to get nscala-time to work on Scala.js |
@mdedetrich do you have anything to share at this stage? I'm curious |
@bchazalet As per what was said on gitter, the project is currently compiling, but some parts need to be rewritten (some business logic that used break/continue/continue to label is broken). When this is done, I will upload it onto github, but more modifications will need to be done to actually get it to work with Thankfully its at a stage where a lot of the grunt work has been done. Expect a push in probably a week |
Hey guys (and @bchazalet ), just letting you know that i have done an early release of Soda-Time, which is the port of |
@mdedetrich that's great news, I will definitely have a look ! |
scala-js will support Java8 time https://github.com/scala-js/scala-js/tree/6a6b4f72b/javalib/src/main/scala/java/time |
At the moment ScalaJS allows to use either javascript Date class or java.util.Date classes. That is why for cross scala-scalajs libraries one has to use only terrible default java.util.Date class :-(
The text was updated successfully, but these errors were encountered: