(t)
| 32 | |
| 33 | // "Thu Jan 1 00:00:00 1970", day-of-month space-padded to width 2. |
| 34 | const ascForm = (t) => `${DAYS_ABBR[jsDay(t[6])]} ${MONTHS_ABBR[t[1] - 1]} ${String(t[2]).padStart(2, " ")} ${pad(t[3])}:${pad(t[4])}:${pad(t[5])} ${t[0]}`; |
| 35 | |
| 36 | const monthIndex = (name) => { |
| 37 | const full = MONTHS.findIndex((m) => m.toLowerCase() === name.toLowerCase()); |