Fossil SCM
Respect `"timeline-utc"` setting when a ticket change artifact is displayed on the <tt>/info</tt> page. This makes it consistent with other places and fixes a hyperlink to the corresponding item of the <tt>/timeline</tt>.
Commit
0028a3ca6af9885683ada277ef72ccfae754c3fac6f1f0d6e1c079c0d9b19a0d
Parent
10d71748479b884…
1 file changed
+1
-1
+1
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -2754,11 +2754,11 @@ | ||
| 2754 | 2754 | style_submenu_element("Shun", "%R/shun?shun=%s#addshun", zUuid); |
| 2755 | 2755 | } |
| 2756 | 2756 | } |
| 2757 | 2757 | pTktChng = manifest_get(rid, CFTYPE_TICKET, 0); |
| 2758 | 2758 | if( pTktChng==0 ) fossil_redirect_home(); |
| 2759 | - zDate = db_text(0, "SELECT datetime(%.12f)", pTktChng->rDate); | |
| 2759 | + zDate = db_text(0, "SELECT datetime(%.12f,toLocal())", pTktChng->rDate); | |
| 2760 | 2760 | sqlite3_snprintf(sizeof(zTktName), zTktName, "%s", pTktChng->zTicketUuid); |
| 2761 | 2761 | if( g.perm.ModTkt && (zModAction = P("modaction"))!=0 ){ |
| 2762 | 2762 | if( strcmp(zModAction,"delete")==0 ){ |
| 2763 | 2763 | moderation_disapprove(rid); |
| 2764 | 2764 | /* |
| 2765 | 2765 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2754,11 +2754,11 @@ | |
| 2754 | style_submenu_element("Shun", "%R/shun?shun=%s#addshun", zUuid); |
| 2755 | } |
| 2756 | } |
| 2757 | pTktChng = manifest_get(rid, CFTYPE_TICKET, 0); |
| 2758 | if( pTktChng==0 ) fossil_redirect_home(); |
| 2759 | zDate = db_text(0, "SELECT datetime(%.12f)", pTktChng->rDate); |
| 2760 | sqlite3_snprintf(sizeof(zTktName), zTktName, "%s", pTktChng->zTicketUuid); |
| 2761 | if( g.perm.ModTkt && (zModAction = P("modaction"))!=0 ){ |
| 2762 | if( strcmp(zModAction,"delete")==0 ){ |
| 2763 | moderation_disapprove(rid); |
| 2764 | /* |
| 2765 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -2754,11 +2754,11 @@ | |
| 2754 | style_submenu_element("Shun", "%R/shun?shun=%s#addshun", zUuid); |
| 2755 | } |
| 2756 | } |
| 2757 | pTktChng = manifest_get(rid, CFTYPE_TICKET, 0); |
| 2758 | if( pTktChng==0 ) fossil_redirect_home(); |
| 2759 | zDate = db_text(0, "SELECT datetime(%.12f,toLocal())", pTktChng->rDate); |
| 2760 | sqlite3_snprintf(sizeof(zTktName), zTktName, "%s", pTktChng->zTicketUuid); |
| 2761 | if( g.perm.ModTkt && (zModAction = P("modaction"))!=0 ){ |
| 2762 | if( strcmp(zModAction,"delete")==0 ){ |
| 2763 | moderation_disapprove(rid); |
| 2764 | /* |
| 2765 |