From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Tasks don't repeat correctly if system-time-locale is set to certain languages Date: Mon, 31 Oct 2016 16:23:45 +0100 Message-ID: <87a8dkfsou.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1ER9-0007S0-2A for emacs-orgmode@gnu.org; Mon, 31 Oct 2016 11:23:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1ER5-0000AK-NZ for emacs-orgmode@gnu.org; Mon, 31 Oct 2016 11:23:47 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:34340) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1ER5-0000A8-H7 for emacs-orgmode@gnu.org; Mon, 31 Oct 2016 11:23:43 -0400 In-Reply-To: (Bruce V. Chiarelli's message of "Sun, 30 Oct 2016 14:08:05 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Bruce V. Chiarelli" Cc: emacs-orgmode@gnu.org Hello, "Bruce V. Chiarelli" writes: > I've noticed some unusual behavior with repeating entries when the > system-time-locale variable is set. Specifically: > > It is Sunday, today, October 30th. I did not mark this task, which is > a habit, yesterday. > > -- If I have (setq system-time-locale "hu_HU.utf8"), Hungarian, then > marking this task DONE > > * TODO Anki basic reviews :habit:study: > SCHEDULED: <2016-10-29 szo .+1d> > > v----becomes----v > > * TODO Anki basic reviews :habit:study: > SCHEDULED: <2016-10-30 v .+1d> > > Which is not correct. I marked it DONE today, so it should repeat tomorrow. > > -- If I have (setq system-time-locale "es_MX.utf8"), Mexican Spanish, > then doing the same thing: > > * TODO Anki basic reviews :habit:study: > SCHEDULED: <2016-10-29 szo .+1d> > > v----becomes----v > > * TODO Anki basic reviews :habit:study: > SCHEDULED: <2016-10-31 lun .+1d> > > Which *is* correct. I have tried this with an unset > system-time-locale, and with it set to fa_IR, es_MX, en_GB, and hu_HU. > So far, hu_HU is the only one that behaves incorrectly. Note that it > doesn't seem to matter which language the day-of-the-week abbreviation > is already in, since every time I tried this, I reverted the file back > to the Hungarian line. Changing the date to <2016-10-29 Sat .+1d> > before marking it also had no effect. > > Of course, I could just set the date locale to "C" or unset it, but > there's still a bug somewhere. I tend to think this is not a bug in Org mode, since it correctly work with other locales, and we do not control locales. Anyway, could you try bisecting and tell us when the bug was born? Regards, -- Nicolas Goaziou