Releases: royviggo/GenDateTools
Releases · royviggo/GenDateTools
Release 1.1.1
- Fixed bug in AddDays when result is negative
- Fixed bug that gives incorrect DateString when one DatePart is null
- Fixed bug in DateLong and DateString when IsValid is false
- Parse using Substring instead of Regex, improved perfomance
- Global static Regex, when Regex are used
Bug fixes
Added Serializable attribute to DatePart. That bug caused the Json serialization to return the DatePart as a string when using Newtonsoft.Json.
Made it possible to use a shorter string than 8 numbers when the constructor was called with a string. Removed the limitation that we couldn't use a string with just a year as parameter, but it had to be padded with '0' to get a length of 8 characters.