Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dic-global-dev
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Manzar Hussain
dic-global-dev
Commits
587f31d4
Commit
587f31d4
authored
Jan 27, 2021
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-theme' into 'develop'
latest update section See merge request manzarH/dic-global-dev!594
parents
87616361
d43087b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
override.js
themes/custom/envigo/js/override.js
+14
-0
No files found.
themes/custom/envigo/js/override.js
View file @
587f31d4
...
@@ -326,6 +326,20 @@
...
@@ -326,6 +326,20 @@
$
(
'#nse'
).
parent
(
'li'
).
removeClass
(
'down'
);
$
(
'#nse'
).
parent
(
'li'
).
removeClass
(
'down'
);
}
}
let
unix_timestamp
=
1611734076
// Create a new JavaScript Date object based on the timestamp
// multiplied by 1000 so that the argument is in milliseconds, not seconds.
var
date
=
new
Date
(
unix_timestamp
*
1000
);
var
date
=
date
.
getDate
();
var
months
=
[
"January"
,
"February"
,
"March"
,
"April"
,
"May"
,
"June"
,
"July"
,
"August"
,
"September"
,
"October"
,
"November"
,
"December"
];
var
month
=
date
.
getMonth
();
var
year
=
date
.
getFullYear
();
var
full_year
=
date
+
" "
+
months
[
month
]
+
" "
+
year
;
$
(
'#latest_update'
).
text
(
"Latest updated on "
+
full_year
);
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment