@globalfishingwatch/layer-composer
Advanced tools
Comparing version 0.7.6 to 0.7.7
@@ -47,6 +47,6 @@ "use strict"; | ||
var serverSideFiltersList = serverSideFilter ? [serverSideFilter] : []; | ||
serverSideFiltersList.push("timestamp > '" + start.slice(0, 19).replace('T', ' ') + "'"); | ||
serverSideFiltersList.push("timestamp < '" + end.slice(0, 19).replace('T', ' ') + "'"); | ||
serverSideFiltersList.push("timestamp >= '" + start.slice(0, 19).replace('T', ' ') + "'"); | ||
serverSideFiltersList.push("timestamp <= '" + end.slice(0, 19).replace('T', ' ') + "'"); | ||
return serverSideFiltersList.join(' AND '); | ||
}; | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@globalfishingwatch/layer-composer", | ||
"version": "0.7.6", | ||
"version": "0.7.7", | ||
"description": "Tools to convert layer configuration to data structures needed in Mapbox GL GFW interactive maps ", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -50,6 +50,6 @@ import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only' | ||
const serverSideFiltersList = serverSideFilter ? [serverSideFilter] : [] | ||
serverSideFiltersList.push(`timestamp > '${start.slice(0, 19).replace('T', ' ')}'`) | ||
serverSideFiltersList.push(`timestamp < '${end.slice(0, 19).replace('T', ' ')}'`) | ||
serverSideFiltersList.push(`timestamp >= '${start.slice(0, 19).replace('T', ' ')}'`) | ||
serverSideFiltersList.push(`timestamp <= '${end.slice(0, 19).replace('T', ' ')}'`) | ||
return serverSideFiltersList.join(' AND ') | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1220650