public DateTime Convert(DateTime value)
        {
            var timeZone = _localizationProvider.GetCurrentTimeZone();

            var timeToConvert = DateTime.SpecifyKind(value, DateTimeKind.Utc);

            DateTime convertedDate = timeToConvert > DateTime.MinValue
                                                        ? TimeZoneInfo.ConvertTimeFromUtc(timeToConvert, timeZone)
                                                        : DateTime.MinValue;

            DateTime localizedDate = timeZone != null ? convertedDate : timeToConvert;

            return(localizedDate);
        }