mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 20:09:57 +00:00
Fix whitespace in boot.js (#8318)
This commit is contained in:
parent
990108cfab
commit
014f302af3
@ -386,8 +386,8 @@ $tw.utils.parseDate = function(value) {
|
|||||||
parseInt(value.substr(10,2)||"00",10),
|
parseInt(value.substr(10,2)||"00",10),
|
||||||
parseInt(value.substr(12,2)||"00",10),
|
parseInt(value.substr(12,2)||"00",10),
|
||||||
parseInt(value.substr(14,3)||"000",10)));
|
parseInt(value.substr(14,3)||"000",10)));
|
||||||
d.setUTCFullYear(year); // See https://stackoverflow.com/a/5870822
|
d.setUTCFullYear(year); // See https://stackoverflow.com/a/5870822
|
||||||
return d;
|
return d;
|
||||||
} else if($tw.utils.isDate(value)) {
|
} else if($tw.utils.isDate(value)) {
|
||||||
return value;
|
return value;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user