LocaleConfig (comments/utils)
@ckeditor/ckeditor5-comments/src/utils/getdatetimeformatter
interface
The localization configuration.
Filtering
Methods
-
dateTimeFormat( date ) → String
A function that formats date to the custom format.
The default formatting can be changed by setting a custom formatting function to
config.locale.dateTimeFormat
.Parameters
date : Date
Returns
String
The generated date.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.