Message215491
Alexander yes it's correct. It's checking for time part in date.strptime and for time part in time.strptime. The only problem I came into is that when passing 0 hours or 0 minutes into date.strptime it won't raise an exception, though doc explicitly says: "(...) ValueError is raised if the date string (...) the time part is nonzero". So I'm not sure whether this is enough or should I add additional checks if time part was set? |
|
Date |
User |
Action |
Args |
2014-04-04 05:45:52 | maciej.szulik | set | recipients:
+ maciej.szulik, jafo, guettli, amaury.forgeotdarc, mark.dickinson, belopolsky, sonderblade, alanvgreen, ajaksu2, josh-sf, cvrebert, tiktuk, adam-collard, westley.martinez, berker.peksag, Juarez.Bochi, petre, vajrasky, Julian.Gindi |
2014-04-04 05:45:52 | maciej.szulik | set | messageid: <1396590352.68.0.0552506630691.issue1100942@psf.upfronthosting.co.za> |
2014-04-04 05:45:52 | maciej.szulik | link | issue1100942 messages |
2014-04-04 05:45:52 | maciej.szulik | create | |
|