Fossil SCM

Correct missing parenthesis typo in timeline query generation logic.

mistachkin 2016-01-11 00:29 trunk
Commit 03fb7bf97b24e2d7e82f11aed6c166c5edbfedad
1 file changed +1 -1
+1 -1
--- src/timeline.c
+++ src/timeline.c
@@ -2133,11 +2133,11 @@
21332133
fossil_fatal("cannot compute descendants or ancestors of a date");
21342134
}
21352135
if( mode==0 ){
21362136
if( isIsoDate(zOrigin) ) zShift = ",'+1 day'";
21372137
}
2138
- zDate = mprintf("(SELECT julianday(%Q%s, fromLocal())", zOrigin, zShift);
2138
+ zDate = mprintf("(SELECT julianday(%Q%s, fromLocal()))", zOrigin, zShift);
21392139
}
21402140
21412141
if( zFilePattern ){
21422142
if( zType==0 ){
21432143
/* When zFilePattern is specified and type is not specified, only show
21442144
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button