{hero}

i18n.today

Since: DateTime 1.1.0

Today button text value.
Please note - this property requires the DateTime extension for DataTables.

Description

Sets the string that will be shown in the Today button when enabled by buttons.today.

Default

  • Value: Today

Example

Set today button text:

new DateTime(document.getElementById('test'), {
	buttons: {
		today: true
	},
	i18n: {
		today: 'Jump to today'
	}
});

Related

The following options are directly related and may also be useful in your application development.