Page 1 of 1

Minor change to header/footer date

Posted: Sat Feb 18, 2012 7:12 pm
by bitmonger
I have a suggestion regarding printing dates in the header or footer of V.
Right now if you select %d for the date it print the format dd/mm/yyyy.
I find the dd/mm portion can be confusing when the day is less than the 12th ( e.g 02/05 - is that May 2 or Feb 5). I know each country is supposed to put them in a certain order, but It seems that the convention regarding the order of day and month is poorly adhered to. I often get expense receipts from gas bars etc. that can be stated either way, and I find they can be either way depending on the computer printing them.
My point is, would it be possible to have the date with a couple of options:
For example:

d Displays the day as a number without a leading zero (1-31).
dd Displays the day as a number with a leading zero (01-31).

mm Displays the month as a number with a leading zero (01-12).
mmm Displays the month as an abbreviation (Jan-Dec)

yy Displays the year as a two-digit number (00-99).
yyyy Displays the year as a four-digit number (0000-9999).

I prefer to print the month as mmm type (e.g Jan-Dec) so there is no ambguity.

Also, there is a minor error in your help page showing examples of setting the date etc format. Below is a portion of that help stating it shows page number, when in fact %p NOT %d is page number.

Examples: (once again, do not enter the quotes)

"%f;;Page %d"
Print the file name on the left and page number on the right

Just print the page number (with no text) in the center

Thanks for the consideration,

Re: Minor change to header/footer date

Posted: Tue Feb 21, 2012 7:01 pm
by FileViewer
Thanks for the suggestions. I will try and include them in V14.