Skip to content

Commit

Permalink
if kaleidox would have made a proper build system, this simple change…
Browse files Browse the repository at this point in the history
… would auto fix some stuff that is broken. but they didn't. buh.
  • Loading branch information
burdoto authored Dec 5, 2024
1 parent e22f81c commit a24bcae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/comroid/api/Polyfill.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
public final class Polyfill {
private static final CompletableFuture<?> infiniteFuture = new CompletableFuture<>();
private static final Pattern DURATION_PATTERN = Pattern.compile(
"((?<amount>\\d)+(?<unit>[yMwdhms][oi]?n?))");
"((?<amount>\\d+)(?<unit>[yMwdhms][oi]?n?))");
private static final Map<@Doc("secondsFactor") Long, @Doc("suffix") String> durationStringBase = Map.of(
60L, "min", // minutes
3600L, "h", // hours
Expand Down

0 comments on commit a24bcae

Please sign in to comment.