(value: string)
| 153 | * missing, `.000` is inserted before the offset. |
| 154 | */ |
| 155 | export function normalizeJiraWorklogTimestamp(value: string): string { |
| 156 | let s = value.trim() |
| 157 | s = s.replace(/Z$/i, '+0000') |
| 158 | s = s.replace(/([+-]\d{2}):(\d{2})$/, '$1$2') |
| 159 | s = s.replace(/^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2})([+-]\d{4})$/, '$1.000$2') |
| 160 | return s |
| 161 | } |
| 162 | |
| 163 | export function normalizeDomain(domain: string): string { |
| 164 | return `https://${domain |
no test coverage detected