thorstadt/bifrost — pull request #1 by pnc (2012-12-11 16:34:04+00:00)
Title: Truncate seconds when formatting modified dates (FTP don't care)

This prevents timestamps with sub-second precision from crashing the server.

::error:badarg
in function io_lib:format/2
called as format("~4..0B~2..0B~2..0B~2..0B~2..0B~2..0B",[2012,2,3,16,3,11.933844])
in call from bifrost:format_mdtm_date/1
in call from bifrost:ftp_command/5
in call from bifrost:control_loop/4
in call from bifrost:execute/1