Business 'fancy date format'
Robert Fewell
14ubobit at gmail.com
Tue Nov 8 17:24:41 EST 2016
John,
After I sent this I thought that was the case, if you have not changed it
there will not be a KVP value in the book. Just checked the raw file, the
only KVP value for Business is the Company name I put in. Fired up my test
file and as above the combo box is showing UTC but obviously no KVP to
retrieve so report fails.
Added this to display (gnc-default-strftime-date-format) and it shows '%B
%e, %Y' which I think is November 8, 2016.
Is that equivalent to UTC ?
Looks like the reports need to test for a valid date format otherwise use
the default above.
Bob
On 8 November 2016 at 21:55, John Ralls <jralls at ceridwen.us> wrote:
>
> > On Nov 8, 2016, at 12:58 PM, Robert Fewell <14ubobit at gmail.com> wrote:
> >
> > While going through the business reports looking for any charts on
> master,
> > I have come across the following problem...
> >
> > Under File/Properties/Business there is an option to specify a fancy date
> > format which by default is showing UTC.
> > All I have added was a company name and saved that.
> >
> > With some test data I ran the 'Customer Report' which failed due to it
> not
> > retrieving the fancy date format as there is not one even though default
> > shows UTC.
> >
> > So the question, at what point should the fancy date format be saved to
> > file ?
> > should this report test for a date format, if not one use the
> > (gnc-default-strftime-date-format)
>
> Bob,
>
> If the user changes the setting it should be saved when she clicks "OK".
>
> What do you have set for "Fancy Date Format"? I think the default is
> "Locale".
>
> Regards,
> John Ralls
More information about the gnucash-devel
mailing list