[bug] fix date separator

This commit is contained in:
zombieFox 2020-06-13 09:43:47 +01:00
parent 8bb24e7afd
commit 3317489845
5 changed files with 5 additions and 5 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "nightTab", "name": "nightTab",
"version": "5.37.1", "version": "5.37.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "nightTab", "name": "nightTab",
"version": "5.37.1", "version": "5.37.2",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -132,7 +132,7 @@ var date = (function() {
if (helper.checkIfValidString(state.get.current().header.date.separator.text)) { if (helper.checkIfValidString(state.get.current().header.date.separator.text)) {
separatorCharacter = helper.trimString(state.get.current().header.date.separator.text); separatorCharacter = helper.trimString(state.get.current().header.date.separator.text);
} else { } else {
separatorCharacter = ":"; separatorCharacter = "/";
}; };
var parts = date.querySelectorAll("span"); var parts = date.querySelectorAll("span");
if (parts.length > 1) { if (parts.length > 1) {

View File

@ -1,6 +1,6 @@
var version = (function() { var version = (function() {
var current = "5.37.1"; var current = "5.37.2";
var name = "Zonked Tarsier"; var name = "Zonked Tarsier";

View File

@ -2,7 +2,7 @@
"name": "nightTab", "name": "nightTab",
"short_name": "nightTab", "short_name": "nightTab",
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.", "description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
"version": "5.37.1", "version": "5.37.2",
"manifest_version": 2, "manifest_version": 2,
"chrome_url_overrides": { "chrome_url_overrides": {
"newtab": "index.html" "newtab": "index.html"