commit:     3300ba698590dc36b1b3df26f7deda771e64810d
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat May  9 13:47:15 2015 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat May  9 13:47:15 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=3300ba69

[eclass] Call date with UTC. Thanks to Arfrever Frehtes Taifersar Arahesis.

 eclass/kde5.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 2aac176..ff56c3b 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -359,7 +359,7 @@ _check_fetch_restriction() {
                KDE_RELEASE_DATE=$(_get_release_date)
        fi
        if [[ ${KDE_RELEASE_DATE} != "none" ]]; then
-               if [[ $(date +"%Y%m%d") <  ${KDE_RELEASE_DATE} ]]; then
+               if [[ $(date -u +"%Y%m%d") <  ${KDE_RELEASE_DATE} ]]; then
                        RESTRICT+=" fetch"
                fi
        fi

Reply via email to