Changeset 6c2d4de


Ignore:
Timestamp:
Mar 5, 2012 3:00:52 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d7c1e97
Parents:
ee22244
Message:

add time interval to graph legends

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/StatSummarizer.java

    ree22244 r6c2d4de  
    77import java.io.IOException;
    88import java.io.OutputStream;
     9import java.text.SimpleDateFormat;
    910import java.util.ArrayList;
     11import java.util.Date;
    1012import java.util.List;
    1113import java.util.StringTokenizer;
     
    327329                def.gprint(recvName, SummaryListener.CF, _("In average") + ": %.2f %S" + _("Bps"));
    328330                def.gprint(recvName, "MAX", ' ' + _("max") + ": %.2f %S" + _("Bps") + "\\r");
     331                // '07-Jul 21:09 UTC' with month name in the system locale
     332                SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM HH:mm");
     333                def.comment(sdf.format(new Date(start)) + " -- " + sdf.format(new Date(end)) + " UTC\\r");
    329334            }
    330335            if (!showCredit)
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryRenderer.java

    ree22244 r6c2d4de  
    66import java.io.IOException;
    77import java.io.OutputStream;
     8import java.text.SimpleDateFormat;
     9import java.util.Date;
    810
    911import javax.imageio.ImageIO;
     
    150152                def.gprint(plotName, "MAX", ' ' + _("max") + ": %.2f %S");
    151153                def.gprint(plotName, "LAST", ' ' + _("now") + ": %.2f %S\\r");
     154                // '07-Jul 21:09 UTC' with month name in the system locale
     155                SimpleDateFormat sdf = new SimpleDateFormat("dd-MMM HH:mm");
     156                def.comment(sdf.format(new Date(start)) + " -- " + sdf.format(new Date(end)) + " UTC\\r");
    152157            }
    153158            if (!showCredit)
  • history.txt

    ree22244 r6c2d4de  
     12012-03-05 zzz
     2  * Build: Make windows and non-windows installers for release
     3  * configclients: Tweaks
     4  * Graphs: Add time interval to legend
     5  * NetDB: Increase min ff to 250
     6  * Plugins: Fix setting webapp classpath on Jetty 6
     7  * UDP: Log tweaks
     8  * viewstat.jsp: Set Connection: Close to work around Jetty bug
     9    http://jira.codehaus.org/browse/JETTY-1346
     10
    1112012-03-04 zzz
    212  * Jetty: Upgrade to Jetty 6.1.26, Tomcat 6.0.35, and JSTL 1.2.
  • router/java/src/net/i2p/router/RouterVersion.java

    ree22244 r6c2d4de  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 4;
     21    public final static long BUILD = 5;
    2222
    2323    /** for example "-test" */
Note: See TracChangeset for help on using the changeset viewer.