Skip to content
Snippets Groups Projects
Commit a7aae067 authored by bl00dymarie's avatar bl00dymarie
Browse files

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
parents 930ed3fd 9d137dfd
No related branches found
No related tags found
No related merge requests found
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 { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment