You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cron expression specifies to run on every minutes, it currently enumerates every minutes from 0 to 59. It would be simpler to simply skip the enumeration in this case and just leave it at "Every minute past every hour".
var numberList = function(numbers, unit) {
if (numbers.length < 2) {
return moment()._locale.ordinal(numbers);
}
// skip enumeration
if (unit && unit === 'm' && numbers.length == 60)
return ' '; // "Every minute"
var last_val = numbers.pop();
return numbers.join(', ') + ' and ' + moment()._locale.ordinal(last_val);
};
The text was updated successfully, but these errors were encountered:
dhwang
changed the title
Every minutes of every hour
Every minute past every hour
Oct 7, 2016
When cron expression specifies to run on every minutes, it currently enumerates every minutes from 0 to 59. It would be simpler to simply skip the enumeration in this case and just leave it at "Every minute past every hour".
The text was updated successfully, but these errors were encountered: