Date Options for Reports

Derek Atkins warlord at MIT.EDU
Sun Jan 20 13:14:46 EST 2008


Hi,

Try using "diff -u" please?  This patch is unusable as is.  Thanks.

Also, you can attach the patch as a text/x-patch instead
of octet-stream.

-derek

"David T." <sunfish62 at yahoo.com> writes:

> 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
>

-- 
       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


More information about the gnucash-devel mailing list