[gnome-todo] application: don't extent copyright to past years
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] application: don't extent copyright to past years
- Date: Wed, 1 Mar 2017 21:16:08 +0000 (UTC)
commit 21feccf83a33b98619218c4b33b67df8c143fd93
Author: Mohammed Sadik <sadiq sadiqpk org>
Date: Fri Mar 18 22:28:36 2016 +0530
application: don't extent copyright to past years
Show copyright years ranging from current year to the future in
about dialog. Don't count it reverse. Like, if the system clock
is wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=763885
src/gtd-application.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gtd-application.c b/src/gtd-application.c
index 82b165e..fbb6315 100644
--- a/src/gtd-application.c
+++ b/src/gtd-application.c
@@ -108,7 +108,7 @@ gtd_application_show_about (GSimpleAction *simple,
date = g_date_time_new_now_local ();
- if (g_date_time_get_year (date) == created_year)
+ if (g_date_time_get_year (date) <= created_year)
{
copyright = g_strdup_printf (_("Copyright \xC2\xA9 %d "
"The To Do authors"), created_year);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]