Version 1.2.0-alpha005

Alpha
Date 2026-10-27 (5 days ago)
Downloads 53 downloads
NuGet View on NuGet
GitHub View on GitHub
Target Frameworks .NET Standard 2.0 .NET Standard 2.1 .NET 8 .NET 9 .NET 10

Installation

Install via NuGet - either via the .NET CLI:

dotnet add package Skybrud.Essentials --version 1.2.0-alpha005

or the NuGet Package Manager:

Install-Package Skybrud.Essentials -Version 1.2.0-alpha005

Changelog

  • Introduced new TimeUtils.UnixTimeSeconds and TimeUtils.UnixTimeMilliseconds formats (see 5d9b9ef)
    UNIX time may be specified in either seconds or milliseconds, which TimeUtils.UnixTime failed to represent. The existing TimeUtils.UnixTime has now been mamrked as obsolete, and TimeUtils.UnixTimeSeconds has been introduced to replace it. TimeUtils.UnixTimeMilliseconds has also been added to represent milliseconds.

  • Updated the StringUtils.TryParseBoolean methods to support the same truthy and falsy values (see fa9164f)
    One method supported yes, y, no and n while the other didn't. Now both do support these values.

  • Added support for working with DateOnly and TimeOnly (see 8bb039f)
    The EssentialsDate and EssentialsTime classes now have additional constructors and methods that support DateOnly and TimeOnly.