(Part of) the IANA time zone database as a JSON file
npm install tzdata-africaThis is (a portion of) the IANA TZ database, represented as JSON. Use this module in combination with timezonecomplete.
It is part of a set of similar modules:
* tzdata
* tzdata-africa
* tzdata-antarctica
* tzdata-asia
* tzdata-australasia
* tzdata-backward
* tzdata-etcetera
* tzdata-europe
* tzdata-factory
* tzdata-northamerica
* tzdata-southamerica
* tzdata-backward-utc
This module contains all zones of IANA TZ database file 'africa'.
2025c
In Node.JS, to get at the JSON data, simply do:
``javascript`
var jsonData = require('tzdata-africa');
In a browser, use the bundled UMD module provided in tzdata-africa.js.
```
MIT
Africa/Abidjan, Africa/Algiers, Africa/Bissau, Africa/Cairo, Africa/Casablanca, Africa/El_Aaiun, Africa/Johannesburg, Africa/Juba, Africa/Khartoum, Africa/Lagos, Africa/Maputo, Africa/Monrovia, Africa/Nairobi, Africa/Ndjamena, Africa/Sao_Tome, Africa/Tripoli, Africa/Tunis, Africa/Windhoek, Atlantic/Cape_Verde, Indian/Mauritius