Export to GitHub

google-refine - issue #594

Date diff function doesn't work for two Calendar objects


Posted on Aug 2, 2012 by Swift Bird

Attempting to get the difference between two dates fails if they are both calendar objects.

value.diff(cells['Start time'].value,'minutes')

Comment #1

Posted on Aug 2, 2012 by Swift Bird

Fixed in r2519. The function also now does better error checking and reporting on the arguments and there are some rudimentary tests for it all.

Comment #2

Posted on Aug 3, 2012 by Swift Bird

Issue 595 has been merged into this issue.

Comment #3

Posted on Sep 18, 2012 by Swift Bird

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium Milestone-2.6