New beta release for Umbraco 8 π
Installation
Changelog
-
Updated
GetSortValueByDateTime
method to useDateTime.TryParseExact
instead ofDateTime.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 theGetSortValueByDateTime
method to throw an exception asDateTime.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 theGetSortValueByDateTime
will now fall back to the result's create date instead - as well as append a warning to Umbraco's log.