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
d43087b8
Commit
d43087b8
authored
Jan 27, 2021
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
latest update section
parent
e37edfa5
Hide 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 @
d43087b8
...
...
@@ -325,6 +325,20 @@
{
$
(
'#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