projects
/
working
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7690c
)
add helper to return current year as a string
author
Dan Allen
<dan@opendevise.com>
Sat, 24 Aug 2019 08:03:33 +0000
(
02:03
-0600)
committer
Dan Allen
<dan@opendevise.com>
Sat, 24 Aug 2019 08:03:33 +0000
(
02:03
-0600)
src/helpers/year.js
[new file with mode: 0644]
patch
|
blob
diff --git a/src/helpers/year.js
b/src/helpers/year.js
new file mode 100644
(file)
index 0000000..
aa38992
--- /dev/null
+++ b/
src/helpers/year.js
@@ -0,0
+1,3
@@
+'use strict'
+
+module.exports = () => new Date().getFullYear().toString()