Uses built-in JS functionality for getting currentYear, thanks to @sdvig
This commit is contained in:
+2
-3
@@ -1,7 +1,6 @@
|
|||||||
import links from './links'
|
import links from './links'
|
||||||
import moment from 'moment'
|
|
||||||
|
|
||||||
const year = moment().year()
|
const currentYear = new Date().getFullYear()
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
menuTitles: {
|
menuTitles: {
|
||||||
@@ -107,7 +106,7 @@ export default {
|
|||||||
},
|
},
|
||||||
license: {
|
license: {
|
||||||
title: 'drip is an open-source cycle tracking app',
|
title: 'drip is an open-source cycle tracking app',
|
||||||
text: `Copyright (C) ${year} Bloody Health GbR
|
text: `Copyright (C) ${currentYear} Bloody Health GbR
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details: https://www.gnu.org/licenses/gpl-3.0.html
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details: https://www.gnu.org/licenses/gpl-3.0.html
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user