Skip to content

v1.1.53

Compare
Choose a tag to compare
@abjerner abjerner released this 03 Nov 16:01
· 34 commits to v1/main since this release

Installation

Install via NuGet - either via the .NET CLI:

dotnet add package Skybrud.Essentials --version 1.1.53

or the NuGet package manager:

Install-Package Skybrud.Essentials -Version 1.1.53

Changelog

  • Added .NET 7 as an additional target framework (see 3bc7637)
    This means that the package can start using some of the newer C# features that are specific to .NET 7.

  • Added additional properties to EssentialsTime that exists on DateTimeOffset (see 7887034)
    The following properties were added:

    • Date
    • DateTime
    • LocalDateTime
    • UtcDateTime
    • Microsecond (.NET 7+)
    • Nanosecond (.NET 7+)
    • UtcTicks
  • Added IsSameDay extension methods for DateTime and DateTimeOffset (see e5fed31)
    Similar methods already exist as static utility methods, so they might as well be available as extension methods.