Skip to content

Skybrud.Umbraco.Search v3.0.0-beta013

Latest
Compare
Choose a tag to compare
@abjerner abjerner released this 24 Jan 10:06

New beta release for Umbraco 8 πŸŽ‰

Installation

Changelog

  • Updated GetSortValueByDateTime method to use DateTime.TryParseExact instead of DateTime.TParseExact (see #9 and 2657405)
    It seems that Umbraco may on occasion index a date in another format than it usually does, and if so, this would cause the GetSortValueByDateTime method to throw an exception as DateTime.ParseExact would try to parse a value in a different format from what we have specified.

    With this release, we're instead using DateTime.TryParseExact, which doesn't throw an exception if it meets an unrecognized format. Instead the GetSortValueByDateTime will now fall back to the result's create date instead - as well as append a warning to Umbraco's log.