From 240c61e46e82c113b0f78eb0f1ff81c2e9d0344c Mon Sep 17 00:00:00 2001 From: emelko Date: Sat, 6 Jun 2020 01:00:31 +0200 Subject: [PATCH] Sets current year instead of hard coded --- i18n/en/settings.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/i18n/en/settings.js b/i18n/en/settings.js index b9424b6..123e11f 100644 --- a/i18n/en/settings.js +++ b/i18n/en/settings.js @@ -1,4 +1,7 @@ import links from './links' +import moment from 'moment' + +const year = moment().year() export default { menuTitles: { @@ -104,7 +107,7 @@ export default { }, license: { 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