eric6/Utilities/FtpUtilities.py

changeset 8217
385f60c94548
parent 8205
4a0f1f896341
child 8218
7c09585bd960
equal deleted inserted replaced
8216:6a042a54e0f7 8217:385f60c94548
251 raise FtpDirLineParserError( 251 raise FtpDirLineParserError(
252 "illegal time string '{0}'".format(month)) 252 "illegal time string '{0}'".format(month))
253 if hour == 12 and am_pm == 'A': 253 if hour == 12 and am_pm == 'A':
254 hour = 0 254 hour = 0
255 if hour != 12 and am_pm == 'P': 255 if hour != 12 and am_pm == 'P':
256 hour = hour + 12 256 hour += 12
257 257
258 lastModified = QDateTime(QDate(year, month, day), QTime(hour, minute)) 258 lastModified = QDateTime(QDate(year, month, day), QTime(hour, minute))
259 urlInfo.setLastModified(lastModified) 259 urlInfo.setLastModified(lastModified)
260 260
261 def __parseWindowsLine(self, line): 261 def __parseWindowsLine(self, line):

eric ide

mercurial