(n)
| 195 | |
| 196 | function ISO8601(d) { |
| 197 | function f2(n) { |
| 198 | // Format integers to have at least two digits. |
| 199 | return (n < 10) ? ('0' + n) : n; |
| 200 | } |
| 201 | function f3(n) { |
| 202 | // Format integers to have at least three digits. |
| 203 | return (n < 10) ? ('00' + n) : (n < 100) ? ('0' + n) : n; |