Comments (17)
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
from nscala-time.
Hey guys (and @bchazalet ), just letting you know that i have done an early release of Soda-Time, which is the port of Joda-Time
to Scala/Scala.js. Its still in alpha stage, but since so many people were asking for it, I released it early
https://github.com/mdedetrich/soda-time
from nscala-time.
I think so, too. However, since nscala-time heavily depends on joda-time, unless joda-time for JavaScript (:- is provided, We cannot support scalaJS.
from nscala-time.
Is there a label for maybe in the future or depends on external stuff? I would attach this to this issue.
from nscala-time.
Hmmm. Certainly, there should be such label.
from nscala-time.
@wookietreiber A little while ago, I created a label maybe_in_the_future
and I attached it to this issue and I reopened this issue. Are you satisfied with this?
from nscala-time.
Yeah, sure, looks good.
from nscala-time.
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?
from nscala-time.
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
from nscala-time.
@mdedetrich do you have anything to share at this stage? I'm curious
from nscala-time.
@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 Scala.js
.
Thankfully its at a stage where a lot of the grunt work has been done. Expect a push in probably a week
from nscala-time.
@mdedetrich that's great news, I will definitely have a look !
from nscala-time.
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
scala-js will support Java8 time https://github.com/scala-js/scala-js/tree/6a6b4f72b/javalib/src/main/scala/java/time
from nscala-time.
https://github.com/scala-js/scala-js-java-time
from nscala-time.
https://github.com/soc/scala-java-time
from nscala-time.
from nscala-time.
@kmizu haven't you seen js-joda?
from nscala-time.
Related Issues (20)
- Latest Version publish HOT 1
- Drop Scala 2.9.3 support in newer version HOT 1
- Conversion from Interval to FiniteDuration HOT 4
- max min to DateTime HOT 3
- Add support for multiplication of constant with duration HOT 1
- Check if date is within time range
- RichLong is missing timezone-aware helpers
- Release for Scala 2.12.0 HOT 1
- Possible improvement: DateTime + FiniteDuration syntax
- Get weird result when I want to find period between two dates and subtract some date by it HOT 1
- Release with the latest joda HOT 1
- API changes report for Nscala Time
- Unexpected behaviour with setting DateTime to Midnight HOT 2
- Possible improvement: add the ability to exclude the end of the interval when splitting by period
- Where can I find current release notes?
- Reasons behind now() change? HOT 1
- What do you think about implicit toDateTime over long HOT 1
- New released needed for JDK 1.8u60 HOT 2
- Migrate to java.time HOT 1
- support for min / max operations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nscala-time.