GNOME Bugzilla – Bug 740146
"If on weekend, use previous weekday", does not work for first scheduled transaction.
Last modified: 2018-06-29 23:36:08 UTC
Created attachment 290739 [details] version and rev version: 2.6.4 rev 79bdcf1+ built on 2014-10-14. I have a scheduled transaction set to run on the last day of the month unless that is on a weekend, then use the previous weekday. Today is 11/14/2014 and the last day of the month is 11/30/2014 (a sunday), In table of scheduled transactions the "Next Occur" column reads 11/30/2014 instead of 11/28/2014 like it should. Also I see on the calendar, that it is scheduled on the 30th and not the 28th. However, if I look forward to October 2015, (when the last day of the month is on a saturday, I see that the transaction is set to run the day prior like it should. It appears that the "If on a weekend use previous weeday" feature works for all but the first time a scheduled transaction should run. I noticed this because today, 11/14/2014, I should have had a scheduled transaction post because it is set to run on the 15th of each month unless a weekend then use previous weekday and tomorrow, 11/15/2014 is a saturday. After deleting and recreating these types of scheduled transactions I can replicate the issue everytime.
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 685102 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=740146. Please update any external references or bookmarks.