1) Give a description of the problem
Trying to convert from iso 8601 but the date part isn’t converting correctly. All I get back is today’s date. (Note: I am using the “if” statement because some of the dates are in YYYY-MM-DD format.)
2) What is the expected behaviour?
Properly convert the string in iso 8601 format into a date/time variable that is understood by webcore
3) What is happening/not happening?
The time part is converting properly but the date part is not
4) Post a Green Snapshot of the piston
5) Attach logs after turning logging level to Full
10/16/2019, 4:31:28 PM +423ms
+0ms ╔Received event [Home].test = 1571257888423 with a delay of 0ms
+232ms ║RunTime Analysis CS > 20ms > PS > 139ms > PE > 72ms > CE
+237ms ║Runtime (87710 bytes) successfully initialized in 139ms (v0.3.110.20191009) (235ms)
+238ms ║╔Execution stage started
+242ms ║║Cancelling statement #1’s schedules…
+246ms ║║Executed virtual command wait (1ms)
+247ms ║║Waiting for 1000ms
+1254ms ║║Sending external web request to: www.hebcal.com/hebcal/?v=1&cfg=json&year=now&month=now&maj=on&c=on&m=72&b=18&geo=zip&zip=11230
+1345ms ║║Executed virtual command httpRequest (92ms)
+1351ms ║║Executed virtual command setVariable (3ms)
+1365ms ║║30
+1366ms ║║Executed virtual command log (2ms)
+1373ms ║║Cancelling statement #102’s schedules…
+1378ms ║║0
+1379ms ║║Executed virtual command log (2ms)
+1391ms ║║Calculating (string) Date from without T + (string) 2019-10-01 >> (string) Date from without T 2019-10-01
+1395ms ║║Date from without T 2019-10-01
+1396ms ║║Executed virtual command log (2ms)
+1406ms ║║Time from without T is not given
+1407ms ║║Executed virtual command log (1ms)
+1413ms ║║Cancelling statement #102’s schedules…
+1419ms ║║1
+1420ms ║║Executed virtual command log (2ms)
+1438ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 7:49:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 7:49:00 PM EDT
+1442ms ║║Date from with T Wed, Oct 16 2019 @ 7:49:00 PM EDT
+1443ms ║║Executed virtual command log (2ms)
+1459ms ║║Calculating (string) Time from with T + (string) 7:49:00 PM EDT >> (string) Time from with T 7:49:00 PM EDT
+1463ms ║║Time from with T 7:49:00 PM EDT
+1464ms ║║Executed virtual command log (1ms)
+1469ms ║║Cancelling statement #102’s schedules…
+1474ms ║║2
+1475ms ║║Executed virtual command log (1ms)
+1493ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 6:14:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 6:14:00 PM EDT
+1497ms ║║Date from with T Wed, Oct 16 2019 @ 6:14:00 PM EDT
+1498ms ║║Executed virtual command log (2ms)
+1514ms ║║Calculating (string) Time from with T + (string) 6:14:00 PM EDT >> (string) Time from with T 6:14:00 PM EDT
+1517ms ║║Time from with T 6:14:00 PM EDT
+1518ms ║║Executed virtual command log (1ms)
+1524ms ║║Cancelling statement #102’s schedules…
+1530ms ║║3
+1531ms ║║Executed virtual command log (1ms)
+1548ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 7:43:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 7:43:00 PM EDT
+1553ms ║║Date from with T Wed, Oct 16 2019 @ 7:43:00 PM EDT
+1554ms ║║Executed virtual command log (3ms)
+1570ms ║║Calculating (string) Time from with T + (string) 7:43:00 PM EDT >> (string) Time from with T 7:43:00 PM EDT
+1574ms ║║Time from with T 7:43:00 PM EDT
+1575ms ║║Executed virtual command log (1ms)
+1580ms ║║Cancelling statement #102’s schedules…
+1585ms ║║4
+1586ms ║║Executed virtual command log (1ms)
+1598ms ║║Calculating (string) Date from without T + (string) 2019-10-08 >> (string) Date from without T 2019-10-08
+1601ms ║║Date from without T 2019-10-08
+1602ms ║║Executed virtual command log (1ms)
+1612ms ║║Time from without T is not given
+1613ms ║║Executed virtual command log (1ms)
+1619ms ║║Cancelling statement #102’s schedules…
+1625ms ║║5
+1626ms ║║Executed virtual command log (2ms)
+1643ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 6:08:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 6:08:00 PM EDT
+1646ms ║║Date from with T Wed, Oct 16 2019 @ 6:08:00 PM EDT
+1647ms ║║Executed virtual command log (1ms)
+1662ms ║║Calculating (string) Time from with T + (string) 6:08:00 PM EDT >> (string) Time from with T 6:08:00 PM EDT
+1666ms ║║Time from with T 6:08:00 PM EDT
+1667ms ║║Executed virtual command log (2ms)
+1672ms ║║Cancelling statement #102’s schedules…
+1677ms ║║6
+1678ms ║║Executed virtual command log (1ms)
+1690ms ║║Calculating (string) Date from without T + (string) 2019-10-09 >> (string) Date from without T 2019-10-09
+1694ms ║║Date from without T 2019-10-09
+1694ms ║║Executed virtual command log (1ms)
+1704ms ║║Time from without T is not given
+1705ms ║║Executed virtual command log (1ms)
+1711ms ║║Cancelling statement #102’s schedules…
+1716ms ║║7
+1717ms ║║Executed virtual command log (1ms)
+1735ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 7:36:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 7:36:00 PM EDT
+1738ms ║║Date from with T Wed, Oct 16 2019 @ 7:36:00 PM EDT
+1739ms ║║Executed virtual command log (1ms)
+1822ms ║║Calculating (string) Time from with T + (string) 7:36:00 PM EDT >> (string) Time from with T 7:36:00 PM EDT
+1825ms ║║Time from with T 7:36:00 PM EDT
+1826ms ║║Executed virtual command log (1ms)
+1832ms ║║Cancelling statement #102’s schedules…
+1837ms ║║8
+1838ms ║║Executed virtual command log (1ms)
+1856ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 6:03:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 6:03:00 PM EDT
+1860ms ║║Date from with T Wed, Oct 16 2019 @ 6:03:00 PM EDT
+1861ms ║║Executed virtual command log (1ms)
+1876ms ║║Calculating (string) Time from with T + (string) 6:03:00 PM EDT >> (string) Time from with T 6:03:00 PM EDT
+1880ms ║║Time from with T 6:03:00 PM EDT
+1881ms ║║Executed virtual command log (2ms)
+1886ms ║║Cancelling statement #102’s schedules…
+1892ms ║║9
+1893ms ║║Executed virtual command log (1ms)
+1910ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 7:31:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 7:31:00 PM EDT
+1914ms ║║Date from with T Wed, Oct 16 2019 @ 7:31:00 PM EDT
+1915ms ║║Executed virtual command log (2ms)
+1930ms ║║Calculating (string) Time from with T + (string) 7:31:00 PM EDT >> (string) Time from with T 7:31:00 PM EDT
+1934ms ║║Time from with T 7:31:00 PM EDT
+1934ms ║║Executed virtual command log (1ms)
+1940ms ║║Cancelling statement #102’s schedules…
+1945ms ║║10
+1946ms ║║Executed virtual command log (2ms)
+1957ms ║║Calculating (string) Date from without T + (string) 2019-10-13 >> (string) Date from without T 2019-10-13
+1961ms ║║Date from without T 2019-10-13
+1962ms ║║Executed virtual command log (2ms)
+1972ms ║║Time from without T is not given
+1973ms ║║Executed virtual command log (1ms)
+1979ms ║║Cancelling statement #102’s schedules…
+1984ms ║║11
+1985ms ║║Executed virtual command log (1ms)
+2003ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 6:00:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 6:00:00 PM EDT
+2007ms ║║Date from with T Wed, Oct 16 2019 @ 6:00:00 PM EDT
+2008ms ║║Executed virtual command log (1ms)
+2024ms ║║Calculating (string) Time from with T + (string) 6:00:00 PM EDT >> (string) Time from with T 6:00:00 PM EDT
+2027ms ║║Time from with T 6:00:00 PM EDT
+2028ms ║║Executed virtual command log (1ms)
+2034ms ║║Cancelling statement #102’s schedules…
+2039ms ║║12
+2040ms ║║Executed virtual command log (1ms)
+2052ms ║║Calculating (string) Date from without T + (string) 2019-10-14 >> (string) Date from without T 2019-10-14
+2056ms ║║Date from without T 2019-10-14
+2057ms ║║Executed virtual command log (2ms)
+2067ms ║║Time from without T is not given
+2068ms ║║Executed virtual command log (2ms)
+2073ms ║║Cancelling statement #102’s schedules…
+2079ms ║║13
+2080ms ║║Executed virtual command log (1ms)
+2098ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 7:28:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 7:28:00 PM EDT
+2102ms ║║Date from with T Wed, Oct 16 2019 @ 7:28:00 PM EDT
+2103ms ║║Executed virtual command log (2ms)
+2120ms ║║Calculating (string) Time from with T + (string) 7:28:00 PM EDT >> (string) Time from with T 7:28:00 PM EDT
+2124ms ║║Time from with T 7:28:00 PM EDT
+2125ms ║║Executed virtual command log (2ms)
+2131ms ║║Cancelling statement #102’s schedules…
+2137ms ║║14
+2138ms ║║Executed virtual command log (2ms)
+2151ms ║║Calculating (string) Date from without T + (string) 2019-10-15 >> (string) Date from without T 2019-10-15
+2155ms ║║Date from without T 2019-10-15
+2156ms ║║Executed virtual command log (1ms)
+2167ms ║║Time from without T is not given
+2168ms ║║Executed virtual command log (1ms)
+2173ms ║║Cancelling statement #102’s schedules…
+2179ms ║║15
+2180ms ║║Executed virtual command log (2ms)
+2198ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 7:27:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 7:27:00 PM EDT
+2201ms ║║Date from with T Wed, Oct 16 2019 @ 7:27:00 PM EDT
+2202ms ║║Executed virtual command log (1ms)
+2218ms ║║Calculating (string) Time from with T + (string) 7:27:00 PM EDT >> (string) Time from with T 7:27:00 PM EDT
+2222ms ║║Time from with T 7:27:00 PM EDT
+2223ms ║║Executed virtual command log (2ms)
+2229ms ║║Cancelling statement #102’s schedules…
+2234ms ║║16
+2235ms ║║Executed virtual command log (1ms)
+2248ms ║║Calculating (string) Date from without T + (string) 2019-10-16 >> (string) Date from without T 2019-10-16
+2252ms ║║Date from without T 2019-10-16
+2253ms ║║Executed virtual command log (1ms)
+2263ms ║║Time from without T is not given
+2264ms ║║Executed virtual command log (1ms)
+2270ms ║║Cancelling statement #102’s schedules…
+2276ms ║║17
+2277ms ║║Executed virtual command log (2ms)
+2294ms ║║Calculating (string) Date from without T + (string) 2019-10-17 >> (string) Date from without T 2019-10-17
+2297ms ║║Date from without T 2019-10-17
+2298ms ║║Executed virtual command log (1ms)
+2309ms ║║Time from without T is not given
+2310ms ║║Executed virtual command log (2ms)
+2315ms ║║Cancelling statement #102’s schedules…
+2321ms ║║18
+2322ms ║║Executed virtual command log (1ms)
+2333ms ║║Calculating (string) Date from without T + (string) 2019-10-18 >> (string) Date from without T 2019-10-18
+2336ms ║║Date from without T 2019-10-18
+2337ms ║║Executed virtual command log (1ms)
+2347ms ║║Time from without T is not given
+2348ms ║║Executed virtual command log (1ms)
+2354ms ║║Cancelling statement #102’s schedules…
+2359ms ║║19
+2361ms ║║Executed virtual command log (2ms)
+2379ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 5:52:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 5:52:00 PM EDT
+2382ms ║║Date from with T Wed, Oct 16 2019 @ 5:52:00 PM EDT
+2383ms ║║Executed virtual command log (1ms)
+2399ms ║║Calculating (string) Time from with T + (string) 5:52:00 PM EDT >> (string) Time from with T 5:52:00 PM EDT
+2403ms ║║Time from with T 5:52:00 PM EDT
+2404ms ║║Executed virtual command log (2ms)
+2409ms ║║Cancelling statement #102’s schedules…
+2415ms ║║20
+2416ms ║║Executed virtual command log (2ms)
+2428ms ║║Calculating (string) Date from without T + (string) 2019-10-19 >> (string) Date from without T 2019-10-19
+2431ms ║║Date from without T 2019-10-19
+2432ms ║║Executed virtual command log (1ms)
+2443ms ║║Time from without T is not given
+2444ms ║║Executed virtual command log (1ms)
+2449ms ║║Cancelling statement #102’s schedules…
+2454ms ║║21
+2455ms ║║Executed virtual command log (1ms)
+2472ms ║║Calculating (string) Date from with T + (string) Wed, Oct 16 2019 @ 7:21:00 PM EDT >> (string) Date from with T Wed, Oct 16 2019 @ 7:21:00 PM EDT
+2476ms ║║Date from with T Wed, Oct 16 2019 @ 7:21:00 PM EDT
+2477ms ║║Executed virtual command log (2ms)
+2493ms ║║Calculating (string) Time from with T + (string) 7:21:00 PM EDT >> (string) Time from with T 7:21:00 PM EDT
+2497ms ║║Time from with T 7:21:00 PM EDT
+2498ms ║║Executed virtual command log (1ms)