Skip to content

Commit

Permalink
korrigiere Monatszählung
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Maier committed Apr 30, 2019
1 parent 7b15e0d commit 508f901
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chrome/content/scripts/zoteroswissbibbblocations.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ function processXML(item,xml) {
let isWithoutISBN = false;
// Formatierung der Ergebnisse
let date = new Date();
let currentDate = date.getFullYear() + "-" + date.getMonth() + "-" + date.getDate() + " (" + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds() + ")";
let thisMonth = date.getMonth() + 1;
let currentDate = date.getFullYear() + "-" + thisMonth + "-" + date.getDate() + " (" + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds() + ")";
let holdingsFormatted = currentDate + " Bestand Swissbib BB\n=======================================";
let xmlResponse = xml.responseXML;
// Haben wir Ergebnisse in Swissbib BB?
Expand Down

0 comments on commit 508f901

Please sign in to comment.