mirror of
https://github.com/halo-dev/plugin-s3.git
synced 2025-10-16 23:39:51 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2503c6eba1 | ||
![]() |
84aa7d32ba |
2
.github/workflows/workflow.yaml
vendored
2
.github/workflows/workflow.yaml
vendored
@@ -9,7 +9,7 @@ on:
|
|||||||
- "!**.md"
|
- "!**.md"
|
||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
- created
|
- published
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
@@ -69,7 +69,7 @@ public class PlaceholderReplacer {
|
|||||||
|
|
||||||
private static String currentMillisecond(Map<String, String> reusableParams) {
|
private static String currentMillisecond(Map<String, String> reusableParams) {
|
||||||
LocalDateTime time = LocalDateTime.parse(reusableParams.get("time"));
|
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) {
|
private static String currentSecond(Map<String, String> reusableParams) {
|
||||||
|
Reference in New Issue
Block a user