Skip to content

Commit

Permalink
- fix TimeFormatting access
Browse files Browse the repository at this point in the history
  • Loading branch information
rotgruengelb committed Apr 11, 2024
1 parent 8b8e51c commit 9ce1e4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

public class TimeFormatting {

private static String formatTime(int time, String format) {
public static String formatTime(int time, String format) {
Map<String, Integer> values = Map.of("d", time / 1728000, "h", (time % 1728000) / 72000, "m", (time % 72000) / 1200, "s", (time % 1200) / 20, "tH", time / 72000, "tM", time / 1200, "tS", time / 20);

String[] formatSplit = format.split("%");
Expand Down

0 comments on commit 9ce1e4c

Please sign in to comment.