Skip to content

Commit

Permalink
Rename timeStampSeconds to timestampMillis
Browse files Browse the repository at this point in the history
  • Loading branch information
LofhJann committed Jan 26, 2023
1 parent 3507164 commit c3d1825
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/fi/hsl/suomenlinna_hfp/hfp/utils/HfpUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
public class HfpUtils {
private static final DateTimeFormatter TST_FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss.SSSX");

public static String formatTst(long timestampSeconds) {
return TST_FORMATTER.format(Instant.ofEpochMilli(timestampSeconds).atZone(ZoneId.of("UTC")));
public static String formatTst(long timeStampMillis) {
return TST_FORMATTER.format(Instant.ofEpochMilli(timeStampMillis).atZone(ZoneId.of("UTC")));
}

public static String formatStartTime(int seconds) {
Expand Down

0 comments on commit c3d1825

Please sign in to comment.