| Conditions | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import { getTimeZones } from '@vvo/tzdb'; |
||
| 7 | /** |
||
| 8 | * @package system-settings |
||
| 9 | * |
||
| 10 | * Returns an array of all timezones in the world |
||
| 11 | * @returns {Promise<string[]>} |
||
| 12 | */ |
||
| 13 | async loadTimezones() { |
||
| 14 | const timezonesImport = await import('@vvo/tzdb/time-zones-names.json'); |
||
| 15 | |||
| 16 | return timezonesImport.default; |
||
| 17 | } |
||
| 71 |