Version 1.1.30

Date 2021-09-27 (1,163 days ago)
Downloads 42K downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET Standard 1.1 .NET Standard 1.3 .NET Standard 2.0 .NET 4.5 .NET 4.6 .NET 4.7 .NET 4.8

#installation">Installation

#changelog">Changelog

  • Added DaySuffix property to the EssentialsDateTime class (see 7c5ac10)
    The EssentialsTime class already has a similar property, so might as well add one for the EssentialsDateTime class.

  • Fixed issue with EssentialsTime.IsWeekend and EssentialsDateTime.IsWeekend properties should call the correct utility method (see d6b11ea and #16)
    The two properties wrongly called the TimeUtils.IsLeapYear utility method instead of TimeUtils.IsWeekend. Thanks to @enkelmedia for reporting 👍

  • Improved the code base behind GetBoolean JSON extension methods (see c8593d0)

    • Introduced JsonTokenUtils to avoid duplicate code throughout the package
    • Added GetBoolean overloads with a fallback parameter
    • Added new TryGetBoolean extension methods
    • Added unit tests to ensure changes does work as intended
  • Added GetMd5Guid methods to the SecurityUtils class (see ca23b5a)
    Sometimes it may be useful to have a MD5 hash formatted as a GUID.