Just to be clear, your plan is to tweak interval_to_seconds() so that it chops up the duration string then passes the duration bits off to DateTime::Duration to calculate the seconds instead of applying the inline hard-coded second amounts?
Beware my branch removes some additional data scrubbing that would need to be recovered so the Perl bits can understand the PG hour/min/sec. (Top of apply_modified_due_date()). Maybe that munging should live in interval_to_seconds as well?
Hi Dan, any news on this?
Just to be clear, your plan is to tweak interval_ to_seconds( ) so that it chops up the duration string then passes the duration bits off to DateTime::Duration to calculate the seconds instead of applying the inline hard-coded second amounts?
Beware my branch removes some additional data scrubbing that would need to be recovered so the Perl bits can understand the PG hour/min/sec. (Top of apply_modified_ due_date( )). Maybe that munging should live in interval_to_seconds as well?