[ server ] [ scheduler ]- script scheduler accomplish - 1

This commit is contained in:
zeaslity
2023-01-18 17:57:09 +08:00
parent ac27f1c702
commit 07d7810087
7 changed files with 129 additions and 95 deletions

View File

@@ -72,6 +72,11 @@ public class TimeUtils {
public static LocalDateTime cvFromDate(Date date) {
// fix bug
if (null == date) {
return null;
}
return LocalDateTime.ofInstant(date.toInstant(),
SYSTEM_TIME_ZONE_ID);
}