mirror of
https://github.com/bellingcat/cloud-free-subregion.git
synced 2026-06-07 19:08:32 +03:00
Updated sentinel-2.js (added 1 line, deleted 1 line).
This commit is contained in:
@@ -300,7 +300,7 @@ function filterOnePerMonth(collection) {
|
||||
var month = 1;
|
||||
var images = [];
|
||||
|
||||
while (year <= int(new Date().getFullYear())) {
|
||||
while (year <= parseInt(new Date().getFullYear())) {
|
||||
while (month <= 12) {
|
||||
var start = year + "-" + ("0" + month).slice(-2) + "-01";
|
||||
var end = year + "-" + ("0" + (month + 1)).slice(-2) + "-01";
|
||||
|
||||
Reference in New Issue
Block a user