Update assets/js/datetime.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>chore-js-refactor-footer-scripts-modules
parent
3609fc9c92
commit
8193057986
|
@ -43,7 +43,7 @@ function enterpriseEOLDate() {
|
||||||
function initialize() {
|
function initialize() {
|
||||||
$('span.current-timestamp').text(currentTimestamp);
|
$('span.current-timestamp').text(currentTimestamp);
|
||||||
$('span.current-time').text(currentTime);
|
$('span.current-time').text(currentTime);
|
||||||
$('span.enterprise-eol-date').text(enterpriseEOLDate);
|
$('span.enterprise-eol-date').text(enterpriseEOLDate());
|
||||||
$('span.current-date').each(function () {
|
$('span.current-date').each(function () {
|
||||||
var dayOffset = parseInt($(this).attr('offset'));
|
var dayOffset = parseInt($(this).attr('offset'));
|
||||||
var trimTime = $(this).attr('trim-time') === 'true';
|
var trimTime = $(this).attr('trim-time') === 'true';
|
||||||
|
|
Loading…
Reference in New Issue