Fossil SCM
chat: removed extraneous T from sender-local timestamp.
Commit
16b8e480ec6f7934eaf28ed52c2d5b01e040452b4ebe43a7dcd9567bcb675ce4
Parent
7d4a32487f2de67…
1 file changed
+1
-1
+1
-1
| --- src/chat.js | ||
| +++ src/chat.js | ||
| @@ -589,11 +589,11 @@ | ||
| 589 | 589 | D.append(D.span(), iso8601ish(d))); |
| 590 | 590 | if(eMsg.dataset.lmtime && xfrom!==Chat.me){ |
| 591 | 591 | D.append(this.e, |
| 592 | 592 | D.append(D.span(), localTime8601( |
| 593 | 593 | new Date(eMsg.dataset.lmtime) |
| 594 | - )," ",xfrom," time")); | |
| 594 | + ).replace('T',' ')," ",xfrom," time")); | |
| 595 | 595 | } |
| 596 | 596 | }else{ |
| 597 | 597 | // Date doesn't work, so dumb it down... |
| 598 | 598 | D.append(this.e, D.append(D.span(), eMsg.dataset.timestamp," Zulu")); |
| 599 | 599 | } |
| 600 | 600 |
| --- src/chat.js | |
| +++ src/chat.js | |
| @@ -589,11 +589,11 @@ | |
| 589 | D.append(D.span(), iso8601ish(d))); |
| 590 | if(eMsg.dataset.lmtime && xfrom!==Chat.me){ |
| 591 | D.append(this.e, |
| 592 | D.append(D.span(), localTime8601( |
| 593 | new Date(eMsg.dataset.lmtime) |
| 594 | )," ",xfrom," time")); |
| 595 | } |
| 596 | }else{ |
| 597 | // Date doesn't work, so dumb it down... |
| 598 | D.append(this.e, D.append(D.span(), eMsg.dataset.timestamp," Zulu")); |
| 599 | } |
| 600 |
| --- src/chat.js | |
| +++ src/chat.js | |
| @@ -589,11 +589,11 @@ | |
| 589 | D.append(D.span(), iso8601ish(d))); |
| 590 | if(eMsg.dataset.lmtime && xfrom!==Chat.me){ |
| 591 | D.append(this.e, |
| 592 | D.append(D.span(), localTime8601( |
| 593 | new Date(eMsg.dataset.lmtime) |
| 594 | ).replace('T',' ')," ",xfrom," time")); |
| 595 | } |
| 596 | }else{ |
| 597 | // Date doesn't work, so dumb it down... |
| 598 | D.append(this.e, D.append(D.span(), eMsg.dataset.timestamp," Zulu")); |
| 599 | } |
| 600 |