package cc.blynk.server.workers;

import cc.blynk.server.utils.JsonParser;

import java.util.HashMap;
import java.util.Map;

/**
 * The Blynk Project.
 * Created by Dmitriy Dumanskiy.
 * Created on 19.07.15.
 */
public class Stat {

    long ts = System.currentTimeMillis();
    long oneMinRate;
    long total;
    long active;
    long connected;
    long onlineApps;
    long onlineHards;

    Map<String, Long> messages = new HashMap<>();

    @Override
    public String toString() {
        return JsonParser.toJson(this);
    }
}

@@ -69,16 +69,49 @@
 arser;%0A%0A
+import java.time.OffsetDateTime;%0A
 import j
@@ -267,42 +267,85 @@
     
-long ts = System.currentTimeMillis
+//2015-07-20T20:15:03.954+03:00%0A    String ts = OffsetDateTime.now().toString
 ();%0A

Format changed