xebialabs / overthere

Runs something "Over there"

Home Page:http://www.xebialabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong date for directories using SshSftpFile (overthereFile.lastModified())

eballo opened this issue · comments

Wrong date for overthereFile.lastModified();

The directories are created with the date of today, and the lastModified() method returns the date of 17 of January of 1970.

I found the problem, the overthereFile.lastModified() for sshsftp return the time in seconds, and not in miliseconds as the javadoc say. So I suggest to update the javadoc or return the right value.

Thanks in advance,