Reverse order of arguments to DATEDIFF, for compatibility. Thanks to
[pspp-builds.git] / src / language / expressions / helpers.c
index a07282be16d836a21a6744d6573583c9ce9dc2d3..08986b298ccdd2a8deb5fe8d298bcd79ae2e6ab6 100644 (file)
@@ -261,7 +261,7 @@ date_unit_duration (enum date_unit unit)
     }
 }
 
-/* Returns the span from DATE to DATE2 in terms of UNIT_NAME. */
+/* Returns the span from DATE1 to DATE2 in terms of UNIT_NAME. */
 double
 expr_date_difference (double date1, double date2, struct substring unit_name) 
 {