Fossil SCM

fixed a mis-escaped formatting token in the byweek report.

stephan 2014-11-05 21:54 trunk
Commit 779f3407f522b0c3252e7f3c668e335f368c413d
1 file changed +1 -1
+1 -1
--- src/timeline.c
+++ src/timeline.c
@@ -2544,11 +2544,11 @@
25442544
Blob header = empty_blob;
25452545
blob_appendf(&header, "Timeline events (%s) for the calendar weeks "
25462546
"of %h", stats_report_label_for_type(),
25472547
zYear);
25482548
blob_append_sql(&sql,
2549
- "SELECT DISTINCT strftime('%%%%W',mtime) AS wk, "
2549
+ "SELECT DISTINCT strftime('%%W',mtime) AS wk, "
25502550
"count(*) AS n "
25512551
"FROM v_reports "
25522552
"WHERE %Q=substr(date(mtime),1,4) "
25532553
"AND mtime < current_timestamp ",
25542554
zYear);
25552555
--- src/timeline.c
+++ src/timeline.c
@@ -2544,11 +2544,11 @@
2544 Blob header = empty_blob;
2545 blob_appendf(&header, "Timeline events (%s) for the calendar weeks "
2546 "of %h", stats_report_label_for_type(),
2547 zYear);
2548 blob_append_sql(&sql,
2549 "SELECT DISTINCT strftime('%%%%W',mtime) AS wk, "
2550 "count(*) AS n "
2551 "FROM v_reports "
2552 "WHERE %Q=substr(date(mtime),1,4) "
2553 "AND mtime < current_timestamp ",
2554 zYear);
2555
--- src/timeline.c
+++ src/timeline.c
@@ -2544,11 +2544,11 @@
2544 Blob header = empty_blob;
2545 blob_appendf(&header, "Timeline events (%s) for the calendar weeks "
2546 "of %h", stats_report_label_for_type(),
2547 zYear);
2548 blob_append_sql(&sql,
2549 "SELECT DISTINCT strftime('%%W',mtime) AS wk, "
2550 "count(*) AS n "
2551 "FROM v_reports "
2552 "WHERE %Q=substr(date(mtime),1,4) "
2553 "AND mtime < current_timestamp ",
2554 zYear);
2555

Keyboard Shortcuts

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