Fix time format to show seconds instead of month
This commit is contained in:
parent
9fc61d9302
commit
a4be25e05c
|
@ -1085,9 +1085,9 @@ If set to ``a resource name``, converse.js will synchronize only with a client t
|
|||
time_format
|
||||
-----------
|
||||
|
||||
* Default: ``HH:MM``
|
||||
* Default: ``HH:mm``
|
||||
|
||||
Examples: ``HH:MM``, ``hh:mm``, ``hh:mm a``.
|
||||
Examples: ``HH:mm``, ``hh:mm``, ``hh:mm a``.
|
||||
|
||||
This option makes the time format for the time shown, for each message, configurable. Converse uses `moment.js <https://momentjs.com/>`_
|
||||
for showing time. This option allows the configuration of the format in which `moment` will display the time for the messages. For detailed
|
||||
|
|
|
@ -72,9 +72,10 @@
|
|||
__ = _converse.__;
|
||||
|
||||
this.updateSettings({
|
||||
show_toolbar: true,
|
||||
chatview_avatar_width: 32,
|
||||
chatview_avatar_height: 32,
|
||||
chatview_avatar_width: 32,
|
||||
show_toolbar: true,
|
||||
time_format: 'HH:mm',
|
||||
visible_toolbar_buttons: {
|
||||
'emoticons': true,
|
||||
'call': false,
|
||||
|
|
|
@ -268,7 +268,6 @@
|
|||
whitelisted_plugins: [],
|
||||
xhr_custom_status: false,
|
||||
xhr_custom_status_url: '',
|
||||
time_format: 'HH:MM',
|
||||
show_send_button: false
|
||||
};
|
||||
_.assignIn(this, this.default_settings);
|
||||
|
|
Loading…
Reference in New Issue
Block a user