{"id":76739,"library":"scalajs-java-time-sjs1-2-13","title":"Scala.js Java Time","description":"Provides Scala.js bindings for the java.time API, enabling cross-platform date and time handling.","status":"active","version":"1.0.0","language":"java","source_language":null,"source_url":"https://github.com/scala-js/scala-js-java-time","tags":["scala","scalajs","java-time","date","time"],"install":[{"cmd":"<dependency>\n  <groupId>org.scala-js</groupId>\n  <artifactId>scalajs-java-time_sjs1_2.13</artifactId>\n  <version>1.0.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.scala-js:scalajs-java-time_sjs1_2.13:1.0.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"LocalDate","correct":"java.time.LocalDate"}],"quickstart":{"code":"import java.time.LocalDate;\n\nobject Main {\n  def main(args: Array[String]): Unit = {\n    val today = LocalDate.now()\n    println(s\"Today is: $today\")\n  }\n}","lang":"scala","description":"Gets the current date using java.time.LocalDate."},"warnings":[{"fix":"Use the standard java.time library for JVM projects.","message":"This library is for Scala.js only; it will not work on the JVM.","severity":"breaking","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'api':10 'bind':6 'cross':13 'cross-platform':12 'date':15,24 'enabl':11 'handl':18 'java':2,22 'java-tim':21 'java.time':9 'platform':14 'provid':4 'scala':19 'scala.js':1,5 'scalaj':20 'time':3,17,23,25","created_at":"2026-06-17T19:37:25.903101+00:00","updated_at":"2026-06-17T19:37:25.903101+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://scala-js.org/","github":"https://github.com/scala-js/scala-js-java-time","docs":"https://appdoc.app/artifact/org.scala-js/scalajs-java-time_sjs1_2.13/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}