(raw: string)
| 35 | * stripTimezone strips a leading timezone from a schedule string |
| 36 | */ |
| 37 | export const stripTimezone = (raw: string): string => { |
| 38 | return raw.replace(/CRON_TZ=\S*\s/, ""); |
| 39 | }; |
| 40 | |
| 41 | /** |
| 42 | * extractTimezone returns a leading timezone from a schedule string if one is |
no outgoing calls
no test coverage detected