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
74bb4314
Commit
74bb4314
authored
Jan 27, 2021
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add date
parent
220c6704
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
override.js
themes/custom/envigo/js/override.js
+4
-4
No files found.
themes/custom/envigo/js/override.js
View file @
74bb4314
...
...
@@ -329,14 +329,14 @@
let
unix_date_timestamp
=
unix_timestamp
;
// 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_date_timestamp
*
1000
);
var
date
1
=
new
Date
(
unix_date_timestamp
*
1000
);
var
date
=
date
.
getDate
();
var
date
=
date
1
.
getDate
();
var
months
=
[
"January"
,
"February"
,
"March"
,
"April"
,
"May"
,
"June"
,
"July"
,
"August"
,
"September"
,
"October"
,
"November"
,
"December"
];
var
month
=
date
.
getMonth
();
var
year
=
date
.
getFullYear
();
var
month
=
date
1
.
getMonth
();
var
year
=
date
1
.
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