File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed
src/main/java/com/github/leafee98/CSTI/core Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public TimeFormatter(ZoneId zoneId) {
2323 public String utc (LocalDateTime dateTime ) {
2424 ZonedDateTime local = dateTime .atZone (zoneId );
2525 ZonedDateTime utc = local .withZoneSameInstant (ZoneId .of ("UTC" ));
26- DateTimeFormatter formatter = DateTimeFormatter .ofPattern ("yyyyMMdd'T'hhmmss 'Z'" );
26+ DateTimeFormatter formatter = DateTimeFormatter .ofPattern ("yyyyMMdd'T'HHmmss 'Z'" );
2727 return formatter .format (utc );
2828 }
2929
@@ -33,7 +33,7 @@ public String utc(LocalDateTime dateTime) {
3333 * @return string formatted as "yyyyMMddThhmmss"
3434 */
3535 public String local (LocalDateTime dateTime ) {
36- DateTimeFormatter formatter = DateTimeFormatter .ofPattern ("yyyyMMdd'T'hhmmss " );
36+ DateTimeFormatter formatter = DateTimeFormatter .ofPattern ("yyyyMMdd'T'HHmmss " );
3737 return formatter .format (dateTime );
3838 }
3939
You can’t perform that action at this time.
0 commit comments