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:
+2
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user