Skip to content

Commit

Permalink
set priority of 'new' tag
Browse files Browse the repository at this point in the history
  • Loading branch information
yasiupl committed Nov 27, 2023
1 parent f19026a commit 7b0989c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parse_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ function processData(json) {
registryDate = new Date(expiry);
registryDate.setFullYear(registryDate.getFullYear() - permitYears);
if(registryDate >= today) {
tower.tags.push("new");
tower.tags.unshift("new");
tags["new"].length++
console.log(`Nowy nadajnik! ${registryDate.toISOString()}: ${tower.name[0]}`);
break
Expand Down

0 comments on commit 7b0989c

Please sign in to comment.