|
@@ -46,7 +46,7 @@ public final class DateUtils {
|
|
|
}
|
|
|
|
|
|
public static int getHourQuarter(long timestamp) {
|
|
|
- Instant instant = Instant.ofEpochMilli(timestamp);
|
|
|
+ Instant instant = Instant.ofEpochSecond(timestamp);
|
|
|
ZonedDateTime zonedDateTime = instant.atZone(ZoneId.systemDefault());
|
|
|
int hour = zonedDateTime.getHour();
|
|
|
int minute = zonedDateTime.getMinute();
|