Fossil SCM

Lowercased 'zulu' per chat discussion.

stephan 2020-12-26 20:33 trunk
Commit c7a017e169930e7370212d10c382be1664d277958ee561db3dbef1e13b657bec
1 file changed +2 -2
+2 -2
--- src/chat.js
+++ src/chat.js
@@ -565,11 +565,11 @@
565565
].join('');
566566
};
567567
/* Returns an almost-ISO8601 form of Date object d. */
568568
const iso8601ish = function(d){
569569
return d.toISOString()
570
- .replace('T',' ').replace(/\.\d+/,'').replace('Z', ' Zulu');
570
+ .replace('T',' ').replace(/\.\d+/,'').replace('Z', ' zulu');
571571
};
572572
/* Event handler for clicking .message-user elements to show their
573573
timestamps. */
574574
const handleLegendClicked = function f(ev){
575575
if(!f.popup){
@@ -593,11 +593,11 @@
593593
new Date(eMsg.dataset.lmtime)
594594
).replace('T',' ')," ",xfrom," time"));
595595
}
596596
}else{
597597
// 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"));
599599
}
600600
const toolbar = D.addClass(D.div(), 'toolbar');
601601
D.append(this.e, toolbar);
602602
const btnDeleteLocal = D.button("Delete locally");
603603
D.append(toolbar, btnDeleteLocal);
604604
--- 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

Keyboard Shortcuts

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