Fossil SCM
Lowercased 'zulu' per chat discussion.
Commit
c7a017e169930e7370212d10c382be1664d277958ee561db3dbef1e13b657bec
Parent
16b8e480ec6f793…
1 file changed
+2
-2
+2
-2
| --- src/chat.js | ||
| +++ src/chat.js | ||
| @@ -565,11 +565,11 @@ | ||
| 565 | 565 | ].join(''); |
| 566 | 566 | }; |
| 567 | 567 | /* Returns an almost-ISO8601 form of Date object d. */ |
| 568 | 568 | const iso8601ish = function(d){ |
| 569 | 569 | return d.toISOString() |
| 570 | - .replace('T',' ').replace(/\.\d+/,'').replace('Z', ' Zulu'); | |
| 570 | + .replace('T',' ').replace(/\.\d+/,'').replace('Z', ' zulu'); | |
| 571 | 571 | }; |
| 572 | 572 | /* Event handler for clicking .message-user elements to show their |
| 573 | 573 | timestamps. */ |
| 574 | 574 | const handleLegendClicked = function f(ev){ |
| 575 | 575 | if(!f.popup){ |
| @@ -593,11 +593,11 @@ | ||
| 593 | 593 | new Date(eMsg.dataset.lmtime) |
| 594 | 594 | ).replace('T',' ')," ",xfrom," time")); |
| 595 | 595 | } |
| 596 | 596 | }else{ |
| 597 | 597 | // Date doesn't work, so dumb it down... |
| 598 | - D.append(this.e, D.append(D.span(), eMsg.dataset.timestamp," Zulu")); | |
| 598 | + D.append(this.e, D.append(D.span(), eMsg.dataset.timestamp," zulu")); | |
| 599 | 599 | } |
| 600 | 600 | const toolbar = D.addClass(D.div(), 'toolbar'); |
| 601 | 601 | D.append(this.e, toolbar); |
| 602 | 602 | const btnDeleteLocal = D.button("Delete locally"); |
| 603 | 603 | D.append(toolbar, btnDeleteLocal); |
| 604 | 604 |
| --- src/chat.js | |
| +++ src/chat.js | |
| @@ -565,11 +565,11 @@ | |
| 565 | ].join(''); |
| 566 | }; |
| 567 | /* Returns an almost-ISO8601 form of Date object d. */ |
| 568 | const iso8601ish = function(d){ |
| 569 | return d.toISOString() |
| 570 | .replace('T',' ').replace(/\.\d+/,'').replace('Z', ' Zulu'); |
| 571 | }; |
| 572 | /* Event handler for clicking .message-user elements to show their |
| 573 | timestamps. */ |
| 574 | const handleLegendClicked = function f(ev){ |
| 575 | if(!f.popup){ |
| @@ -593,11 +593,11 @@ | |
| 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 | const toolbar = D.addClass(D.div(), 'toolbar'); |
| 601 | D.append(this.e, toolbar); |
| 602 | const btnDeleteLocal = D.button("Delete locally"); |
| 603 | D.append(toolbar, btnDeleteLocal); |
| 604 |
| --- src/chat.js | |
| +++ src/chat.js | |
| @@ -565,11 +565,11 @@ | |
| 565 | ].join(''); |
| 566 | }; |
| 567 | /* Returns an almost-ISO8601 form of Date object d. */ |
| 568 | const iso8601ish = function(d){ |
| 569 | return d.toISOString() |
| 570 | .replace('T',' ').replace(/\.\d+/,'').replace('Z', ' zulu'); |
| 571 | }; |
| 572 | /* Event handler for clicking .message-user elements to show their |
| 573 | timestamps. */ |
| 574 | const handleLegendClicked = function f(ev){ |
| 575 | if(!f.popup){ |
| @@ -593,11 +593,11 @@ | |
| 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 | const toolbar = D.addClass(D.div(), 'toolbar'); |
| 601 | D.append(this.e, toolbar); |
| 602 | const btnDeleteLocal = D.button("Delete locally"); |
| 603 | D.append(toolbar, btnDeleteLocal); |
| 604 |