[ server ] [ scheduler ]- script scheduler accomplish - 1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user