diff options
author | Harvey Harrison <[email protected]> | 2012-10-15 20:28:10 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-10-15 20:30:44 -0700 |
commit | f15b5df4114e46b4c6a968b75aebb6014afc1806 (patch) | |
tree | 3a3bb076fc8f6c0b4201065dec5a19df1026e2f8 /src | |
parent | b9653e6f55a96f3769a980b2569fc9fabad9f374 (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/util/pngj/chunks/PngChunkTIME.java | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|