Fossil SCM
Correct missing parenthesis typo in timeline query generation logic.
Commit
03fb7bf97b24e2d7e82f11aed6c166c5edbfedad
Parent
5d49329fc24d9a6…
1 file changed
+1
-1
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -2133,11 +2133,11 @@ | ||
| 2133 | 2133 | fossil_fatal("cannot compute descendants or ancestors of a date"); |
| 2134 | 2134 | } |
| 2135 | 2135 | if( mode==0 ){ |
| 2136 | 2136 | if( isIsoDate(zOrigin) ) zShift = ",'+1 day'"; |
| 2137 | 2137 | } |
| 2138 | - zDate = mprintf("(SELECT julianday(%Q%s, fromLocal())", zOrigin, zShift); | |
| 2138 | + zDate = mprintf("(SELECT julianday(%Q%s, fromLocal()))", zOrigin, zShift); | |
| 2139 | 2139 | } |
| 2140 | 2140 | |
| 2141 | 2141 | if( zFilePattern ){ |
| 2142 | 2142 | if( zType==0 ){ |
| 2143 | 2143 | /* When zFilePattern is specified and type is not specified, only show |
| 2144 | 2144 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -2133,11 +2133,11 @@ | |
| 2133 | fossil_fatal("cannot compute descendants or ancestors of a date"); |
| 2134 | } |
| 2135 | if( mode==0 ){ |
| 2136 | if( isIsoDate(zOrigin) ) zShift = ",'+1 day'"; |
| 2137 | } |
| 2138 | zDate = mprintf("(SELECT julianday(%Q%s, fromLocal())", zOrigin, zShift); |
| 2139 | } |
| 2140 | |
| 2141 | if( zFilePattern ){ |
| 2142 | if( zType==0 ){ |
| 2143 | /* When zFilePattern is specified and type is not specified, only show |
| 2144 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -2133,11 +2133,11 @@ | |
| 2133 | fossil_fatal("cannot compute descendants or ancestors of a date"); |
| 2134 | } |
| 2135 | if( mode==0 ){ |
| 2136 | if( isIsoDate(zOrigin) ) zShift = ",'+1 day'"; |
| 2137 | } |
| 2138 | zDate = mprintf("(SELECT julianday(%Q%s, fromLocal()))", zOrigin, zShift); |
| 2139 | } |
| 2140 | |
| 2141 | if( zFilePattern ){ |
| 2142 | if( zType==0 ){ |
| 2143 | /* When zFilePattern is specified and type is not specified, only show |
| 2144 |