Fossil SCM

Removed invalid Z suffix from the new lmtime string.

stephan 2020-12-26 20:30 trunk
Commit 7d4a32487f2de6710444042e79d9ca6fe4e7a5e1666b219577e1c252bf9aae2b
1 file changed +1 -2
+1 -2
--- src/chat.js
+++ src/chat.js
@@ -501,12 +501,11 @@
501501
};
502502
const pad2 = (x)=>('0'+x).substr(-2);
503503
const localTime8601 = function(d){
504504
return [
505505
d.getYear()+1900, '-', pad2(d.getMonth()+1), '-', pad2(d.getDate()+1),
506
- 'T', pad2(d.getHours()),':', pad2(d.getMinutes()),':',pad2(d.getSeconds()),
507
- 'Z', tzOffsetToString(d.getTimezoneOffset())
506
+ 'T', pad2(d.getHours()),':', pad2(d.getMinutes()),':',pad2(d.getSeconds())
508507
].join('');
509508
};
510509
511510
Chat.submitMessage = function(){
512511
const fd = new FormData(this.e.inputForm)
513512
--- src/chat.js
+++ src/chat.js
@@ -501,12 +501,11 @@
501 };
502 const pad2 = (x)=>('0'+x).substr(-2);
503 const localTime8601 = function(d){
504 return [
505 d.getYear()+1900, '-', pad2(d.getMonth()+1), '-', pad2(d.getDate()+1),
506 'T', pad2(d.getHours()),':', pad2(d.getMinutes()),':',pad2(d.getSeconds()),
507 'Z', tzOffsetToString(d.getTimezoneOffset())
508 ].join('');
509 };
510
511 Chat.submitMessage = function(){
512 const fd = new FormData(this.e.inputForm)
513
--- src/chat.js
+++ src/chat.js
@@ -501,12 +501,11 @@
501 };
502 const pad2 = (x)=>('0'+x).substr(-2);
503 const localTime8601 = function(d){
504 return [
505 d.getYear()+1900, '-', pad2(d.getMonth()+1), '-', pad2(d.getDate()+1),
506 'T', pad2(d.getHours()),':', pad2(d.getMinutes()),':',pad2(d.getSeconds())
 
507 ].join('');
508 };
509
510 Chat.submitMessage = function(){
511 const fd = new FormData(this.e.inputForm)
512

Keyboard Shortcuts

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