Sets current year instead of hard coded

This commit is contained in:
emelko
2020-06-06 01:00:31 +02:00
parent 880dd8b843
commit 240c61e46e
+4 -1
View File
@@ -1,4 +1,7 @@
import links from './links' import links from './links'
import moment from 'moment'
const year = moment().year()
export default { export default {
menuTitles: { menuTitles: {
@@ -104,7 +107,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) 2019 Bloody Health GbR text: `Copyright (C) ${year} 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