Skip to content

Commit

Permalink
making timestamp deserialization consistent
Browse files Browse the repository at this point in the history
fixing #17
  • Loading branch information
or-shachar committed Sep 13, 2017
1 parent aac9025 commit 841d599
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -332,6 +332,7 @@ else if ( ARCHETYPE_CATALOG.matcher( path ).matches() )
cal.set( Calendar.HOUR_OF_DAY, Integer.parseInt( matcher.group( 5 ) ) );
cal.set( Calendar.MINUTE, Integer.parseInt( matcher.group( 6 ) ) );
cal.set( Calendar.SECOND, Integer.parseInt( matcher.group( 7 ) ) );
cal.set( Calendar.MILLISECOND, 0);
long timestamp = cal.getTimeInMillis();
int buildNumber = Integer.parseInt( matcher.group( 8 ) );

Expand Down

0 comments on commit 841d599

Please sign in to comment.