We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e24269a commit fbb9f60Copy full SHA for fbb9f60
src/main/java/ldbc/socialnet/dbgen/generator/DateGenerator.java
@@ -161,7 +161,8 @@ public static String formatDateDetail(GregorianCalendar c)
161
+prefixHour+hour+":"+prefixMinute+minute+":"+prefixSecond+second+"Z";
162
*/
163
c.setTimeZone(TimeZone.getTimeZone("GMT"));
164
- SimpleDateFormat gmtDateFormatter = new SimpleDateFormat("yyyy-MM-ddHH:mm:ssZ");
+ //SimpleDateFormat gmtDateFormatter = new SimpleDateFormat("yyyy-MM-ddHH:mm:ssZ");
165
+ SimpleDateFormat gmtDateFormatter = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
166
gmtDateFormatter.setTimeZone(TimeZone.getTimeZone("GMT"));
167
return gmtDateFormatter.format(c.getTime());
168
}
0 commit comments