projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reverse order of arguments to DATEDIFF, for compatibility. Thanks to
[pspp-builds.git]
/
src
/
language
/
expressions
/
helpers.c
diff --git
a/src/language/expressions/helpers.c
b/src/language/expressions/helpers.c
index a07282be16d836a21a6744d6573583c9ce9dc2d3..08986b298ccdd2a8deb5fe8d298bcd79ae2e6ab6 100644
(file)
--- a/
src/language/expressions/helpers.c
+++ b/
src/language/expressions/helpers.c
@@
-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 DATE
1
to DATE2 in terms of UNIT_NAME. */
double
expr_date_difference (double date1, double date2, struct substring unit_name)
{