fix: #258
This commit is contained in:
@@ -44,7 +44,6 @@ const getTimeUnitAndValueToUse = (secondToDecide) => {
|
||||
timeValue: secondToDecide / minutes,
|
||||
};
|
||||
} else {
|
||||
console.log('less than one minutes final case timeValue:', secondToDecide, dd, hh, mm);
|
||||
return {
|
||||
unitToUse: "s",
|
||||
timeValue: secondToDecide,
|
||||
@@ -241,7 +240,7 @@ export function getDateLabelByMinMaxDate(date, maxDate, minDate) {
|
||||
return moment(date).format('YYYY/MM/DD');
|
||||
}
|
||||
else if (diffDays > 1) {
|
||||
return moment(date).format('MM/DD');
|
||||
return moment(date).format('YYYY/MM/DD');
|
||||
}
|
||||
else if (diffHours > 1) {
|
||||
return moment(date).format('MM/DD hh:00');
|
||||
|
||||
Reference in New Issue
Block a user