Fossil SCM
fixed /json/timeline/branch timestamp flag, which was in string format rather than unix epoch.
Commit
9b42f2e9765a9e02cc96219e3c64949c0ee2988c
Parent
070b75542ce368b…
1 file changed
+1
-1
+1
-1
| --- src/json_timeline.c | ||
| +++ src/json_timeline.c | ||
| @@ -360,11 +360,11 @@ | ||
| 360 | 360 | json_timeline_temp_table(); |
| 361 | 361 | blob_append(&sql, |
| 362 | 362 | "SELECT" |
| 363 | 363 | " blob.rid AS rid," |
| 364 | 364 | " uuid AS uuid," |
| 365 | - " datetime(event.mtime,'utc') as timestamp," | |
| 365 | + " CAST(strftime('%s',event.mtime) AS INTEGER) as timestamp," | |
| 366 | 366 | " coalesce(ecomment, comment) as comment," |
| 367 | 367 | " coalesce(euser, user) as user," |
| 368 | 368 | " blob.rid IN leaf as isLeaf," |
| 369 | 369 | " bgcolor as bgColor" |
| 370 | 370 | " FROM event JOIN blob" |
| 371 | 371 |
| --- src/json_timeline.c | |
| +++ src/json_timeline.c | |
| @@ -360,11 +360,11 @@ | |
| 360 | json_timeline_temp_table(); |
| 361 | blob_append(&sql, |
| 362 | "SELECT" |
| 363 | " blob.rid AS rid," |
| 364 | " uuid AS uuid," |
| 365 | " datetime(event.mtime,'utc') as timestamp," |
| 366 | " coalesce(ecomment, comment) as comment," |
| 367 | " coalesce(euser, user) as user," |
| 368 | " blob.rid IN leaf as isLeaf," |
| 369 | " bgcolor as bgColor" |
| 370 | " FROM event JOIN blob" |
| 371 |
| --- src/json_timeline.c | |
| +++ src/json_timeline.c | |
| @@ -360,11 +360,11 @@ | |
| 360 | json_timeline_temp_table(); |
| 361 | blob_append(&sql, |
| 362 | "SELECT" |
| 363 | " blob.rid AS rid," |
| 364 | " uuid AS uuid," |
| 365 | " CAST(strftime('%s',event.mtime) AS INTEGER) as timestamp," |
| 366 | " coalesce(ecomment, comment) as comment," |
| 367 | " coalesce(euser, user) as user," |
| 368 | " blob.rid IN leaf as isLeaf," |
| 369 | " bgcolor as bgColor" |
| 370 | " FROM event JOIN blob" |
| 371 |