Date Options for Reports
David T.
sunfish62 at yahoo.com
Fri Jan 18 21:40:18 EST 2008
Yes. I just saw the other thread regarding guile-strings.c
I notice now in the file that each line is preceded by a comment line:
/* src/app-utils/date-utilities.scm */
Assuming that this scheme file is the actual place I should patch, I attach a
patch for the date-utilities.scm file.
David
--- Derek Atkins <warlord at MIT.EDU> wrote:
> Quoting "David T." <sunfish62 at yahoo.com>:
>
> > I have been bothered by the inconsistency of the date options on reports. I
> > have noticed that GC uses "Start of this month", but "Start of current
> > quarter"; "Start of ...", but "Current Year Start" and "Previous Year
> > Start". I
> > would like to see a standardized set of terms:
> >
> > Option Tooltip
> > Start of current {interval} The start of the current {interval}
> > Start of previous {interval} The start of the previous {interval}
> >
> > along with the same entries under the To: selectbox.
> >
> > I am not certain, but it looks like these strings are established in
> > guile-strings.c. If this is in fact, I attach the results of "diff
> > guile-strings.c guile-strings-mine.c" in the hopes that the changes can get
> > integrated into the main program.
>
> Bzzt. guile-strings.c is a magic file, generated solely for the purpose
> of translation of scheme strings. You'll need to search through
> the .scm files to find the sources of these strings.
>
> Also, it's POSSIBLE that changing these strings could result in
> breaking existing report options, but that would depend on how
> they are implemented.
>
> Thanks,
>
> > David
>
> -derek
>
> --
> Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> Member, MIT Student Information Processing Board (SIPB)
> URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> warlord at MIT.EDU PGP key available
>
>
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
A non-text attachment was scrubbed...
Name: date-utilities-patch
Type: application/octet-stream
Size: 2050 bytes
Desc: 2112910478-date-utilities-patch
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080118/dc831a7b/attachment.obj
More information about the gnucash-devel
mailing list