Merge branch 'Changes-year-in-copyright-text' into 'master'

Uses built-in JS functionality for getting currentYear, thanks to @sdvig

See merge request bloodyhealth/drip!296
This commit is contained in:
bl00dymarie
2020-06-19 09:02:58 +00:00
+2 -3
View File
@@ -1,7 +1,6 @@
import links from './links'
import moment from 'moment'
const year = moment().year()
const currentYear = new Date().getFullYear()
export default {
menuTitles: {
@@ -107,7 +106,7 @@ export default {
},
license: {
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