fixing time offset

This commit is contained in:
Micho 2013-05-19 09:05:03 +02:00
parent db53287cdf
commit 1b9655f693
2 changed files with 314 additions and 314 deletions

View File

@ -1,360 +1,360 @@
var data = { var data = {
"times": [ "times": [
766, 826,
788, 848,
796, 856,
805, 865,
813, 873,
821, 881,
830, 890,
838, 898,
847, 907,
855, 915,
864, 924,
872, 932,
880, 940,
889, 949,
897, 957,
906, 966,
914, 974,
922, 982,
931, 991,
939, 999,
948, 1008,
956, 1016,
964, 1024,
973, 1033,
981, 1041,
989, 1049,
998, 1058,
1006, 1066,
1015, 1075,
1023, 1083,
1032, 1092,
1040, 1100,
1048, 1108,
1057, 1117,
1065, 1125,
1073, 1133,
1082, 1142,
1090,
1098,
1107,
1115,
1124,
1132,
1140,
1150, 1150,
1158, 1158,
1166, 1167,
1175, 1175,
1184, 1184,
1192, 1192,
1201, 1200,
1209, 1210,
1218, 1218,
1226, 1226,
1235, 1235,
1243, 1244,
1252, 1252,
1260, 1261,
1268, 1269,
1277, 1278,
1285, 1286,
1294, 1295,
1302, 1303,
1311, 1312,
1320, 1320,
1328, 1328,
1336, 1337,
1345, 1345,
1353, 1354,
1362, 1362,
1370, 1371,
1378, 1380,
1387, 1388,
1395, 1396,
1404, 1405,
1412, 1413,
1420, 1422,
1429, 1430,
1437, 1438,
1446, 1447,
1454, 1455,
1462, 1464,
1471, 1472,
1479, 1480,
1487, 1489,
1496, 1497,
1504, 1506,
1513, 1514,
1521, 1522,
1530, 1531,
1538, 1539,
1546, 1547,
1555, 1556,
1563, 1564,
1571, 1573,
1580, 1581,
1588, 1590,
1596, 1598,
1605, 1606,
1613, 1615,
1622, 1623,
1630, 1631,
1638, 1640,
1646, 1648,
1655, 1656,
1663, 1665,
1671, 1673,
1680, 1682,
1688, 1690,
1697, 1698,
1705, 1706,
1714, 1715,
1722, 1723,
1730, 1731,
1739, 1740,
1747, 1748,
1755, 1757,
1764, 1765,
1772, 1774,
1782,
1790, 1790,
1800, 1799,
1810, 1807,
1819, 1815,
1828, 1824,
1837, 1832,
1846, 1850,
1856, 1860,
1865, 1870,
1874, 1879,
1887, 1888,
1901, 1897,
1911, 1906,
1920, 1916,
1930, 1925,
1939, 1934,
1948, 1947,
1958, 1961,
1969, 1971,
1980, 1980,
1989, 1990,
1999, 1999,
2009, 2008,
2018, 2018,
2028, 2029,
2040, 2040,
2050, 2049,
2060, 2059,
2076, 2069,
2078,
2088, 2088,
2098, 2100,
2110, 2110,
2125, 2120,
2135, 2136,
2145, 2148,
2154, 2158,
2164, 2170,
2175,
2185, 2185,
2195, 2195,
2205, 2205,
2216, 2214,
2239, 2224,
2248, 2235,
2259, 2245,
2269, 2255,
2279, 2265,
2292, 2276,
2302, 2299,
2315, 2308,
2326, 2319,
2337, 2329,
2346, 2339,
2356, 2352,
2366, 2362,
2377, 2375,
2388, 2386,
2413, 2397,
2424, 2406,
2434, 2416,
2444, 2426,
2453, 2437,
2463, 2448,
2473, 2473,
2483, 2484,
2495, 2494,
2506, 2504,
2517, 2513,
2527, 2523,
2539, 2533,
2549, 2543,
2559, 2555,
2569, 2566,
2578, 2577,
2588, 2587,
2597, 2599,
2608, 2609,
2617, 2619,
2627, 2629,
2636, 2638,
2646, 2648,
2656, 2657,
2666, 2668,
2675, 2677,
2686, 2687,
2695, 2696,
2704, 2706,
2713, 2716,
3355, 2726,
3379, 2735,
3400, 2746,
2755,
2764,
2773,
3415, 3415,
3431, 3439,
3460, 3460,
3475, 3475,
3490, 3491,
3505, 3520,
3522, 3535,
3537, 3550,
3552, 3565,
3567,
3582, 3582,
3598, 3597,
3613, 3612,
3628, 3627,
3644, 3642,
3659, 3658,
3674, 3673,
3689, 3688,
3705, 3704,
3720, 3719,
3735, 3734,
3750, 3749,
3764, 3765,
3779, 3780,
3795, 3795,
3812, 3810,
3827, 3824,
3841, 3839,
3856, 3855,
3872,
3887,
3901, 3901,
3916, 3916,
3931, 3961,
3946, 3976,
3960, 3991,
3975, 4006,
3989, 4020,
4004, 4035,
4018, 4049,
4033, 4064,
4048, 4078,
4062, 4093,
4076, 4108,
4090, 4122,
4104, 4136,
4118, 4150,
4132, 4164,
4146, 4178,
4161, 4192,
4175, 4206,
4189, 4221,
4204, 4235,
4218, 4249,
4232, 4264,
4246, 4278,
4259, 4292,
4273, 4306,
4287, 4319,
4301, 4333,
4315, 4347,
4329, 4361,
4343, 4375,
4357, 4389,
4371, 4403,
4385, 4417,
4399, 4431,
4413, 4445,
4427, 4459,
4441, 4473,
4454, 4487,
4469, 4501,
4483, 4514,
4497, 4529,
4511, 4543,
4525, 4557,
4539, 4571,
4553, 4585,
4567, 4599,
4581, 4613,
4595, 4627,
4609, 4641,
4623, 4655,
4637, 4669,
4652, 4683,
4666, 4697,
4680, 4712,
4694, 4726,
4708, 4740,
4722, 4754,
4736, 4768,
4750, 4782,
4764, 4796,
4778, 4810,
4792, 4824,
4806, 4838,
4820, 4852,
4834, 4866,
4848, 4880,
4862, 4894,
4877, 4908,
4891, 4922,
4906,
4920,
4937, 4937,
4951, 4951,
4966, 4966,
5025, 4980,
5040, 4997,
5055, 5011,
5135, 5026,
5141, 5085,
5150, 5100,
5156, 5115,
5165,
5173,
5180,
5188,
5195, 5195,
5203, 5201,
5218, 5210,
5216,
5225,
5233, 5233,
5240,
5248, 5248,
5262, 5255,
5277, 5263,
5292, 5278,
5307, 5293,
5308,
5322, 5322,
5337, 5337,
5351,
5352, 5352,
5367, 5367,
5385, 5382,
5403, 5397,
5423, 5411,
5441, 5412,
5457, 5427,
5475, 5445,
5493, 5463,
5494, 5483,
5508, 5501,
5537, 5517,
5539, 5535,
5553,
5554,
5568, 5568,
5570, 5597,
5600, 5599,
5602 5628,
5630,
5660,
5662
], ],
"points": [ "points": [
{ {

View File

@ -31,7 +31,7 @@ var times = new Lookup();
log.forEach(function (entry) { log.forEach(function (entry) {
if (accesspoints[entry.access_point] === undefined) return; if (accesspoints[entry.access_point] === undefined) return;
entry.time = ((new Date(entry.date)).getTime()-1367712000000)/60000+60; entry.time = ((new Date(entry.date)).getTime()-1367712000000)/60000+120;
times.add(entry.time); times.add(entry.time);
macs.add(entry.mac_hash); macs.add(entry.mac_hash);