Skip to content

Releases: royviggo/GenDateTools

Release 1.1.1

23 Jul 19:00
b700756

Choose a tag to compare

  • 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

16 Feb 16:50
a01bc1c

Choose a tag to compare

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.