Updated: September 7, 2021
You can now specify a locale
while formatting a DateTime
concept with the format
JavaScript function. You must specify the locale in language-country format, such as en-US
or ko-KR
.
var dates = require('dates')
module.exports.function = function ShowDateTimeFormat(locale) {
const DATE_FORMAT = {
'ko-KR': 'yyyy년 M월 d일', //"2021년 7월 14일",
'en-US': 'MMMM d, yyyy', // July 14, 2021
}
const dateFormat = DATE_FORMAT[locale] ? DATE_FORMAT[locale] : DATE_FORMAT['en-US']
const now = dates.ZonedDateTime.now()
const current_dateTime = dates.ZonedDateTime.of(now.getTimeZoneId(), 2021, 7, 14, 23, 59, 59)
const dateTimeString = current_dateTime.format(dateFormat, locale)
return dateTimeString
}
Here is an example of what displays if you pass a different locale for the same pattern. For example, with the pattern MMMM dd, yyyy
:
en-US
, the formatted date will be July 07, 2021
de-DE
, the formatted date will be Juli 07, 2021
Updated: August 5, 2021
We've added a new runtime flag short-timeout-on-halt-dialog
. This runtime flag uses the Short
value by default for the conversation timeout on halt
dialog effects.
capsule {
...
runtime-version (9) {
overrides {
short-timeout-on-halt-dialog (false)
}
}
}
This flag is enabled by default for all runtime versions.
Updated: July 7, 2021
Action endpoints can declare whether they require one (or more) types of permissions to be granted by the user in order to execute. See required-permissions
.
The timeout
key can be set in views to make Bixby's conversation timeout length Short
or Long
depending on the capsule's need.
With the July 2021 APK release, most mobile devices with the latest client updates now use Flexible UX, a compact and lighter user interface that is more closely aligned to Samsung's OneUI design. For more information, see the Flexible UX topic within Bixby Views.