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
Hello!
I'm trying to format LocalDateTime with next pattern "dd MMMM":
actual fun LocalDateTime.format(format: String): String { return DateTimeFormatter.ofPattern(format) .withLocale("ru" as Locale) .format( nativeJs( Date( milliseconds = this.toInstant( TimeZone.currentSystemDefault() ).toEpochMilliseconds() ) ) ) }
I got the next error:
The text was updated successfully, but these errors were encountered:
Hi! DateTimeFormatter, withLocale, Locale, nativeJs, and Date are not parts of this library at all, so we can't help you with that.
DateTimeFormatter
withLocale
Locale
nativeJs
Date
Our own implementation of formatting also currently doesn't support locales: #352
Sorry, something went wrong.
No branches or pull requests
Hello!
I'm trying to format LocalDateTime with next pattern "dd MMMM":
I got the next error:
The text was updated successfully, but these errors were encountered: