We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import java.time.LocalDateTime import java.time.format.DateTimeFormatterBuilder import java.time.temporal.ChronoField import java.time.format.TextStyle import java.util.Locale import java.time.format.DateTimeFormatter import java.time.LocalDate import java.time.ZoneId val formatterFull: DateTimeFormatter = new DateTimeFormatterBuilder() .appendPattern("dd ") .appendText(ChronoField.MONTH_OF_YEAR, TextStyle.FULL_STANDALONE) .toFormatter(Locale.forLanguageTag("uk")) val today = LocalDate.now(ZoneId.of("UTC")) val todayString = today.format(formatterFull) print(todayString)
This code works on JVM but fails with UndefinedBehaviorError on Scala.js
The text was updated successfully, but these errors were encountered:
I wonder if any of those variables is null, that would produce UndefinedBehavior I think
UndefinedBehavior
Sorry, something went wrong.
No branches or pull requests
This code works on JVM but fails with UndefinedBehaviorError on Scala.js
The text was updated successfully, but these errors were encountered: