[design] change export timestamp to largest to smallest unit of time for better sorting

This commit is contained in:
zombieFox 2020-04-23 14:52:13 +01:00
parent ac80f29329
commit 11f46ebb41
5 changed files with 5 additions and 5 deletions

2
package-lock.json generated
View File

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

View File

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

View File

@ -25,7 +25,7 @@ var data = (function() {
timeStamp.date = _timeStampPrefix(timeStamp.date);
timeStamp.month = _timeStampPrefix(timeStamp.month + 1);
timeStamp.year = _timeStampPrefix(timeStamp.year);
timeStamp = timeStamp.hours + " " + timeStamp.minutes + " " + timeStamp.seconds + " - " + timeStamp.date + "." + timeStamp.month + "." + timeStamp.year;
timeStamp = timeStamp.year + "." + timeStamp.month + "." + timeStamp.date + " - " + timeStamp.hours + " " + timeStamp.minutes + " " + timeStamp.seconds;
var fileName = _saveName + " backup - " + timeStamp + ".json";
var data = "data:text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(load()));
var link = document.createElement("a");

View File

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

View File

@ -2,7 +2,7 @@
"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.",
"version": "5.22.1",
"version": "5.23.0",
"manifest_version": 2,
"chrome_url_overrides": {
"newtab": "index.html"