DonationCoder.com Software > Clipboard Help+Spell
Field %e in custom date format produces "00" instead of space-padded day
(1/1)
ptran:
Hi,
I have a custom date format using %e. The quick paste menu displays 00 (two consecutive zeros) instead of the day of the month. When I paste, I also end up with 00. This behavior looks wrong. I'm running the CHS 2.31.0 beta (just downloaded about 10 minutes ago) on 64-bit Windows 7 Service Pack 1.
Here's the preset I'm using:
%A, %B %e, %Y
Here's the text is see in the pop up and when I paste:
Wednesday, October 00, 2015
The %d works correctly and displays "14" (for today, October 14, 2015).
mouser:
Let me check it out and report -- should be an easy fix.
ptran:
Hi ... Just checking in to see if there's an update on this problem. I still see it in version 2.34.
Here's a sample custom format:
A=%A, B=%B e=%e, Y=%Y
And here's the result I get:
A=Saturday, B=April e=00, Y=2016
And here's the documentation for %e:
%d Day of month as decimal number (01-31) [%e no leading 0]
I currently use %d and manually remove the leading zero. I only need to do this manual editing for 10 days, until we hit the 10th of each month. :)
mouser:
Will be fixed in next release.
They the beta 2.36 listed on this page:
https://www.donationcoder.com/forum/index.php?topic=1514
ptran:
Sorry it's taken so long to respond.
I downloaded and installed the 2.36 beta (the EXE modification date is May 14, 2016, and its file version is 2.36.0).
I missed the June 9 test date (to see if I get "9" instead of "09"), but I tried it anyway.
I still see a problem:
My Date/Time preset is: A-B-E-Y: %A, %B %e, %Y
The pasted value is: A-B-E-Y: Friday, June 00, 2016
Navigation
[0] Message Index
Go to full version