Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Feb 26 21:56
    dvreeze commented #154
  • Feb 26 20:38
    cquiroz commented #154
  • Feb 26 18:29
    dvreeze opened #154
  • Feb 21 15:33
    scala-steward opened #153
  • Feb 21 08:03
    scala-steward opened #152
  • Feb 10 22:57

    cquiroz on master

    Update sbt-crossproject, ... to… Merge pull request #151 from sc… (compare)

  • Feb 10 22:57
    cquiroz closed #151
  • Feb 10 21:20
    scala-steward opened #151
  • Feb 04 02:46

    cquiroz on master

    Update sbt to 1.3.8 Merge pull request #150 from sc… (compare)

  • Feb 04 02:46
    cquiroz closed #150
  • Feb 04 01:49
    scala-steward opened #150
  • Jan 29 19:19
    scala-steward opened #149
  • Jan 24 15:30
    scala-steward opened #148
  • Jan 16 10:39

    cquiroz on master

    Update sbt to 1.3.7 Merge pull request #147 from sc… (compare)

  • Jan 16 10:39
    cquiroz closed #147
  • Jan 16 07:46
    scala-steward opened #147
  • Jan 13 16:38
    scala-steward opened #146
  • Dec 27 2019 00:53

    cquiroz on master

    Update sbt-sonatype to 3.8.1 Merge pull request #134 from sc… (compare)

  • Dec 27 2019 00:53
    cquiroz closed #134
  • Dec 27 2019 00:52

    cquiroz on master

    Update sbt-pgp to 2.0.1 Merge pull request #143 from sc… (compare)

Matthew de Detrich
@mdedetrich
I am getting
[error] java.time.DateTimeException: Invalid value for HourOfDay (valid values 0 - 23): 25
[error]     at java.time.temporal.ValueRange.checkValidValue(ValueRange.java:311)
[error]     at java.time.temporal.ChronoField.checkValidValue(ChronoField.java:703)
[error]     at java.time.LocalTime.of(LocalTime.java:296)
[error]     at kuyfi.TZDBParser$.$anonfun$hourMinParserLT$1(TZDBParser.scala:118)
[error]     at atto.Parser$$anon$5.$anonfun$apply$5(Parser.scala:29)
[error]     at cats.Eval$.advance(Eval.scala:272)
[error]     at cats.Eval$.loop$1(Eval.scala:354)
[error]     at cats.Eval$.cats$Eval$$evaluate(Eval.scala:372)
[error]     at cats.Eval$Defer.value(Eval.scala:258)
[error]     at atto.ParserFunctions.parseOnly(Parser.scala:102)
[error]     at atto.ParserFunctions.parseOnly$(Parser.scala:99)
[error]     at atto.Parser$.parseOnly(Parser.scala:42)
[error]     at atto.syntax.ParserOps.parseOnly(ParserOps.scala:19)
[error]     at atto.syntax.ParserOps.parseOnly$(ParserOps.scala:18)
[error]     at atto.syntax.ToParserOps$$anon$1.parseOnly(ParserOps.scala:99)
[error]     at kuyfi.TZDBParser$.parseFile(TZDBParser.scala:256)
[error]     at kuyfi.TZDBParser$.$anonfun$parseAll$3(TZDBParser.scala:293)
[error]     at scala.collection.Iterator$$anon$10.next(Iterator.scala:457)
[error]     at scala.collection.Iterator.foreach(Iterator.scala:944)
[error]     at scala.collection.Iterator.foreach$(Iterator.scala:944)
[error]     at scala.collection.AbstractIterator.foreach(Iterator.scala:1432)
[error]     at scala.collection.generic.Growable.$plus$plus$eq(Growable.scala:59)
[error]     at scala.collection.generic.Growable.$plus$plus$eq$(Growable.scala:50)
[error]     at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:186)
[error]     at scala.collection.mutable.ListBuffer.$plus$plus$eq(ListBuffer.scala:44)
[error]     at scala.collection.TraversableOnce.to(TraversableOnce.scala:310)
[error]     at scala.collection.TraversableOnce.to$(TraversableOnce.scala:308)
[error]     at scala.collection.AbstractIterator.to(Iterator.scala:1432)
[error]     at scala.collection.TraversableOnce.toList(TraversableOnce.scala:294)
[error]     at scala.collection.TraversableOnce.toList$(TraversableOnce.scala:294)
[error]     at scala.collection.AbstractIterator.toList(Iterator.scala:1432)
[error]     at kuyfi.TZDBParser$.$anonfun$parseAll$1(TZDBParser.scala:294)
[error]     at cats.effect.internals.IORunLoop$.step(IORunLoop.scala:167)
[error]     at cats.effect.IO.unsafeRunTimed(IO.scala:307)
[error]     at cats.effect.IO.unsafeRunSync(IO.scala:242)
[error]     at io.gitub.sbt.tzdb.TzdbPlugin$.tzdbCodeGenImpl(SbtTzdb.scala:79)
[error]     at io.gitub.sbt.tzdb.TzdbPlugin$.$anonfun$projectSettings$3(SbtTzdb.scala:60)
[error]     at scala.Function1.$anonfun$compose$1(Function1.scala:44)
[error]     at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:40)
[error]     at sbt.std.Transform$$anon$4.work(System.scala:67)
[error]     at sbt.Execute.$anonfun$submit$2(Execute.scala:269)
[error]     at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:16)
[error]     at sbt.Execute.work(Execute.scala:278)
[error]     at sbt.Execute.$anonfun$submit$1(Execute.scala:269)
[error]     at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error]     at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error]     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error]     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error]     at java.lang.Thread.run(Thread.java:748)
So I think the tz data may be screwed?
There seems to be a 25 there
Carlos Quiroz
@cquiroz
ah yes,
that is fixed
Matthew de Detrich
@mdedetrich
Is it released?
Carlos Quiroz
@cquiroz
did a fix yesterday on version 0.3.0
the tz db has changed a lot lately
Matthew de Detrich
@mdedetrich
Ah I see, did you publish 0.3.0?
Carlos Quiroz
@cquiroz
yes
Matthew de Detrich
@mdedetrich
Hmm so I was using a seriously outdated version of sbt-tzdb
So my previous thing may be a false alarm
Let me see how it works now!
Carlos Quiroz
@cquiroz
i haven’t changed that part in a long time
But please do try
Matthew de Detrich
@mdedetrich
Will do
Matthew de Detrich
@mdedetrich
Okay thanks, updating sbt-tzdb fixed the original issue
And also multiple compiles in a row work
So let me see if crossCompiling works
Hmm okay it doesn't, @cquiroz I will try and work on fixing this tonight and I will send a PR if am successful okay?
sbt's slowness is pissing me off so I am going to take a break now
Carlos Quiroz
@cquiroz
sure
If you send a PR I’ll try to publish ASAP
Matthew de Detrich
@mdedetrich
@cquiroz Just to let you know, I couldn't recreate the issue once I updated sbt-tzdb plugin and cleaned the resources/src_managed folder properly
Carlos Quiroz
@cquiroz
Great!
Matthew de Detrich
@mdedetrich
If it happens again I will look into it, thanks for the help!
Carlos Quiroz
@cquiroz
Np, glad it works for you
Carlos Quiroz
@cquiroz
@/all If any want want to comment about cquiroz/scala-java-time#87 I’d welcome comments
Matthew de Detrich
@mdedetrich
@cquiroz Commented
Christopher Davenport
@ChristopherDavenport
@cquiroz is the interop between M13 and RC1?
Carlos Quiroz
@cquiroz
There are no changes at the API level
Roberto Leibman
@rleibman
Good afternoon (where I am anyway).... I'm getting an error with the scalajs version. In trying to call LocalDateTime.parse...
Fast optimizing /Users/rleibman/Personal/projects/meal-o-rama/meal-o-rama-web/main/target/scala-2.12/scalajs-bundler/main/meal-o-rama-web-main-opt.js [error] Referring to non-existent method java.time.LocalDateTime$.of(java.time.LocalDate,java.time.LocalTime)java.time.LocalDateTime [error] called from java.time.LocalDate.atTime(java.time.LocalTime)java.time.LocalDateTime
Roberto Leibman
@rleibman
ok, that was my fault... I imported the timezone jar instead of the main one.
This message was deleted
Roberto Leibman
@rleibman
And also For My Information.... the timezone jar is necessary if you want to use the systemDefault in scala, which in my case turns out to be Los_Angeles
But Everything seems to work, cool! Thanks for the work you guys have put into this!
Carlos Quiroz
@cquiroz
I’m glad it works for you
Matthew de Detrich
@mdedetrich
@cquiroz Hey man, sorry I haven’t had time to do the calendar API. A lot of stuff has come up and I am now on holidays. I will see if I can do somethng this month but no huge guarantee
Carlos Quiroz
@cquiroz
Don’t worry. I’m not very close to make a RC2 :D
Alex Henning Johannessen
@ahjohannessen
@cquiroz When do you intend to release 2.0.0 final?
Carlos Quiroz
@cquiroz
There is no ETA, but the latest RC is basically final. The last improvement pending is a reduction of the size of locales
Alex Henning Johannessen
@ahjohannessen
Ok , thanks
Marc Grue
@marcgrue

Have imported

"io.github.cquiroz" %%% "scala-java-locales" % "0.5.3-cldr31",
"io.github.cquiroz" %%% "scala-java-time" % "2.0.0-RC2",

Calling java.time.OffsetDateTime.now() on JS side gives me
java.time.zone.ZoneRulesException: Unknown time-zone ID: Europe/Copenhagen
On JVM side it works. Shouldn't it work on the JS side too, or am I missing something? Thanks

Marc Grue
@marcgrue
Auch, too long ago I read the excellent documentation. Adding the sbt-tzdb plugin solved the problem. Thanks for all the work put in to this useful library!
Carlos Quiroz
@cquiroz
Great it works for you
nafg
@nafg
I just started getting that for America/New_York. It worked before
Help?
Carlos Quiroz
@cquiroz
Did you setup sbt-tzdb in your build?