From: Dan Allen Date: Sat, 24 Aug 2019 08:03:33 +0000 (-0600) Subject: add helper to return current year as a string X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=38a28b7fb0db4be05be51eb84287aeff5f9c78dd;p=working%2Feg-antora.git add helper to return current year as a string --- diff --git a/src/helpers/year.js b/src/helpers/year.js new file mode 100644 index 0000000..aa38992 --- /dev/null +++ b/src/helpers/year.js @@ -0,0 +1,3 @@ +'use strict' + +module.exports = () => new Date().getFullYear().toString()