-
-
Notifications
You must be signed in to change notification settings - Fork 682
Closed as not planned
Description
FTP OS: Windows
Computer OS: Windows 10
FluentFTP Version: 33.04
Hi,
According to the documentation, version 33.x introduced a new way to consider timezones. According to the code in FtpClient_Timezone.cs file, the code (at least for CORE) is:
if (m_timeConversion == FtpDate.LocalTime) {
date = date + m_localTimeOffset;
}
where m_localTimeOffset is (not sure) the offset specified in the FtpClient.LocalTimeZone property.
But, m_localTimeOffset should be different in case of summer-winter time, so, it depends on the date that is going to be converted itself.
In my opinion, the code used for .net framework (that is, date = System.TimeZone.CurrentTimeZone.ToLocalTime(date);) should be also applied in CORE.
For the moment, I rolled back to version 32.x.
Reactions are currently unavailable