Hi all,
I find SmartDate quite useful. But I thought I could improve it.
Besides the standard CSLA shortcuts for dates
I added the following shortcuts
I had to change SmartDate.cs. I enclose the changed file as well as the diff file. SmartDate.cs will go on the Csla folder.
Rocky, can you consider including this change on the next release?
TIA
P.S. - Yesterday right after posting, I realised there were problems changing year. Now those problems are solved. As a side effect, non existent days of short monthes (31st Feb, etc) are now converted to the last existent day of that month. Suppose you are on 10th May and input ">31". As there is no 31st Jun, instead of producing an illegal date, ">31" is converted to the 30st Jun.
Hi Rocky,
I have this working on Csla 4.1.0.
The same question though:
Rocky, can you consider including this change on the next release?
Forgot to say: the attachement includes:
- replacement SmartDate.cs
- diff file with just the changes
I'll add this to the wish list, thanks.
Copyright (c) Marimer LLC