2 Commits
1.8.0 ... 1.8.1

Author SHA1 Message Date
longjuan
2503c6eba1 fix: Correct the formatting of Milliseconds to be a 3-digit number (#126)
```release-note
修复重命名模板中 millisecond 没有被格式化3位数的问题
```
2024-03-18 01:44:08 +00:00
John Niang
84aa7d32ba Correct release types to published instead of created 2024-03-05 22:23:26 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ on:
- "!**.md"
release:
types:
- created
- published
pull_request:
branches:
- main

View File

@@ -69,7 +69,7 @@ public class PlaceholderReplacer {
private static String currentMillisecond(Map<String, String> reusableParams) {
LocalDateTime time = LocalDateTime.parse(reusableParams.get("time"));
return String.valueOf(time.getNano() / 1000000);
return String.format("%03d", time.getNano() / 1000000);
}
private static String currentSecond(Map<String, String> reusableParams) {