gnucash master: Bug 760107 - Change default date completion to sliding window

Geert Janssens gjanssens at code.gnucash.org
Sat Mar 19 12:34:03 EDT 2016


Updated	 via  https://github.com/Gnucash/gnucash/commit/ea7eaffd (commit)
	from  https://github.com/Gnucash/gnucash/commit/d54ccee5 (commit)



commit ea7eaffd7ea2a2cce333079996b469d8c6442f70
Author: Geert Janssens <janssens-geert at telenet.be>
Date:   Sat Mar 19 18:26:49 2016 +0100

    Bug 760107 - Change default date completion to sliding window
    
    Release notes snippet for this change:
    The default date completion when entering partial dates has been
    changed from "always complete in current calendar year" to
    "complete to a sliding window starting 11 months before current month".
    For example if you enter "1/23" (January 23rd) while today is
    December 10th 2015, the date will be expanded to
    January 23rd 2016 rather than 2015.
    If you prefer to keep the old behaviour, you can restore to it
    via Edit->Preferences->Date/Time->Date Completion.
    In addition if you were already using the sliding window
    before, but didn't change the previous 6 months before
    default, you will now also get the new default 11 months before.
    Again if you prefer the old behaviour it can be restored via
    the same Preference.

diff --git a/src/gnome/gschemas/org.gnucash.gschema.xml.in.in b/src/gnome/gschemas/org.gnucash.gschema.xml.in.in
index da62faa..ff5fb3c 100644
--- a/src/gnome/gschemas/org.gnucash.gschema.xml.in.in
+++ b/src/gnome/gschemas/org.gnucash.gschema.xml.in.in
@@ -146,17 +146,17 @@
       <description>This setting chooses the way dates are displayed in GnuCash. Possible values for this setting are "locale" to use the system locale setting, "ce" for Continental Europe style dates, "iso" for ISO 8601 standard dates , "uk" for United Kingdom style dates, and "us" for United States style dates.</description>
     </key>
     <key name="date-completion-thisyear" type="b">
-      <default>true</default>
+      <default>false</default>
       <summary>In the current calendar year</summary>
       <description>When a date is entered without year it can be completed so that it will be within the current calendar year or close to the current date based on a sliding window starting a set number of months backwards in time.</description>
     </key>
     <key name="date-completion-sliding" type="b">
-      <default>false</default>
+      <default>true</default>
       <summary>In a sliding 12-month window starting a configurable number of months before the current month</summary>
       <description>When a date is entered without year it can be completed so that it will be within the current calendar year or close to the current date based on a sliding window starting a set number of months backwards in time.</description>
     </key>
     <key name="date-backmonths" type="d">
-      <default>6.0</default>
+      <default>11.0</default>
       <summary>Maximum number of months to go back.</summary>
       <description>Dates will be completed so that they are close to the current date. Enter the maximum number of months to go backwards in time when completing dates.</description>
     </key>



Summary of changes:
 src/gnome/gschemas/org.gnucash.gschema.xml.in.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)



More information about the gnucash-changes mailing list