From f15b5df4114e46b4c6a968b75aebb6014afc1806 Mon Sep 17 00:00:00 2001
From: Harvey Harrison <harvey.harrison@gmail.com>
Date: Mon, 15 Oct 2012 20:28:10 -0700
Subject: jogl: fix bad format string in PngChunkTIME

Missing format specifier for the first argument would lead to this throwing IllegalFormatException.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
 src/jogl/classes/jogamp/opengl/util/pngj/chunks/PngChunkTIME.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/jogl/classes/jogamp/opengl')

diff --git a/src/jogl/classes/jogamp/opengl/util/pngj/chunks/PngChunkTIME.java b/src/jogl/classes/jogamp/opengl/util/pngj/chunks/PngChunkTIME.java
index 37e617acb..fa61f6237 100644
--- a/src/jogl/classes/jogamp/opengl/util/pngj/chunks/PngChunkTIME.java
+++ b/src/jogl/classes/jogamp/opengl/util/pngj/chunks/PngChunkTIME.java
@@ -75,7 +75,7 @@ public class PngChunkTIME extends PngChunk {
 
 	/** format YYYY/MM/DD HH:mm:SS */
 	public String getAsString() {
-		return String.format("%04/%02d/%02d %02d:%02d:%02d", year, mon, day, hour, min, sec);
+		return String.format("%04d/%02d/%02d %02d:%02d:%02d", year, mon, day, hour, min, sec);
 	}
 
 	
-- 
cgit v1.2.3