Skip to content

Commit ea7eaff

Browse files
committed
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.
1 parent d54ccee commit ea7eaff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gnome/gschemas/org.gnucash.gschema.xml.in.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,17 +146,17 @@
146146
<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>
147147
</key>
148148
<key name="date-completion-thisyear" type="b">
149-
<default>true</default>
149+
<default>false</default>
150150
<summary>In the current calendar year</summary>
151151
<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>
152152
</key>
153153
<key name="date-completion-sliding" type="b">
154-
<default>false</default>
154+
<default>true</default>
155155
<summary>In a sliding 12-month window starting a configurable number of months before the current month</summary>
156156
<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>
157157
</key>
158158
<key name="date-backmonths" type="d">
159-
<default>6.0</default>
159+
<default>11.0</default>
160160
<summary>Maximum number of months to go back.</summary>
161161
<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>
162162
</key>

0 commit comments

Comments
 (0)