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