(dateTuple)
| 183 | |
| 184 | /** Date format such as 20190120. */ |
| 185 | export function dateTupleToYYYYMMDD(dateTuple) { |
| 186 | const monthStr = toTwoDigitString(dateTuple[1]); |
| 187 | const dayStr = toTwoDigitString(dateTuple[2]); |
| 188 | return `${dateTuple[0]}${monthStr}${dayStr}`; |
| 189 | } |
| 190 | |
| 191 | /** Date format such as 2019-1-20. */ |
| 192 | export function dateTupleToYYYYDashMDashD(dateTuple) { |
nothing calls this directly
no test coverage detected