commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Naber (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (NET-635) Problems with German summertime
Date Mon, 27 Mar 2017 18:24:41 GMT

     [ https://issues.apache.org/jira/browse/NET-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Peter Naber closed NET-635.
---------------------------
    Resolution: Fixed

It's no bug. You have to use the setServerTimeZoneId function, in order to
 the server AND Client calculate the timestamps in the same timezone.

> Problems with German summertime
> -------------------------------
>
>                 Key: NET-635
>                 URL: https://issues.apache.org/jira/browse/NET-635
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.6
>         Environment: linux
>            Reporter: Peter Naber
>            Priority: Minor
>
> There is a problem at the funktion org.apache.commons.net.ftp.parser.FTPTimestampParserImpl.parseTimestamp
> At the ftp Server exists a file with the timestamp "Mar 26 02:29"
> In Germany, the clock will be switched at 2:00 from wintertime to summertime Mar 26 2:00
-> Mar 26 3:00.
> So the time "Mar 26 02:29" is invalid if the commons-net function will run on a german
server.
> The workaround is, to set the servertimezone to GMT



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message