Skip to main content
6 events
when toggle format what by license comment
S Nov 13, 2018 at 13:40 history suggested user12810 CC BY-SA 4.0
updated syntax
Nov 13, 2018 at 11:29 review Suggested edits
S Nov 13, 2018 at 13:40
Nov 13, 2018 at 11:27 comment added user12810 nice, I get what I need now with dateutils.dround '2018-11-12 12:52:31' /450s /-15m, thanks!
Nov 13, 2018 at 7:46 comment added hroptatyr @JackDouglas The tools have evolved, what you want is now: /-15m, i.e. round down to the next multiple of 15 minutes in the hour. This feature got the more cumbersome syntax because it accepts less values, /-13m isn't possible for instance because 13 is not a divisor of 60 (minutes in the hour)
Nov 12, 2018 at 15:34 comment added user12810 is that actually how your utils work anymore? using -15m I get the input rewound to the nearest 15 minutes past an hour: dateutils.dround '2018-11-12 13:55' -15m produces 2018-11-12T13:15:00 not 2018-11-12T13:45:00.
Jul 11, 2012 at 13:13 history answered hroptatyr CC BY-SA 3.0