├── ethio.png ├── manifest.json ├── README.md ├── script.js └── index.html /ethio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fikertemariam/Ethiopian-Current-time-chrome-extension/HEAD/ethio.png -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Ethio-Date", 3 | "version": "1.0.0", 4 | "description": "Current Local Time in Ethiopia", 5 | "manifest_version": 3, 6 | "author": "Fikerte", 7 | "action":{ 8 | "default_popup": "index.html", 9 | "default_title": "Ethiopian Time" 10 | }, 11 | "icons":{ "16": "ethio.png", 12 | "48": "ethio.png", 13 | "128": "ethio.png"} 14 | 15 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Ethiopian-Current-time-chrome-extension 2 | Quick access to view the current time and date in Ethiopian calendar. 3 | 4 | **steps to follow:-** 5 | 6 | 1. Extract the zip folder 7 | 8 | 2. Locate the more tool option at your chrome tab 9 | 10 | 3. Choose the extension option 11 | 12 | 4. Make sure to switch on the developer mode 13 | 14 | 5. Choose the **load upacked** from the top menu 15 | 16 | 6. Locate the extracted folder make sure it is ON. 17 | 18 | 7. Back on your chrome tab pin this extension as it will be a useful tool to have! 19 | -------------------------------------------------------------------------------- /script.js: -------------------------------------------------------------------------------- 1 | async function fetchData() { 2 | 3 | var neww = new Intl.DateTimeFormat('am', {calendar: 'ethiopic', weekday: 'long'}).format(Date.now()); 4 | var newd = new Intl.DateTimeFormat('am', {calendar: 'ethiopic', day: 'numeric', month: 'long',year : 'numeric'}).format(Date.now()); 5 | var newt = new Intl.DateTimeFormat('am', {calendar: 'ethiopic', hour: 'numeric', minute : 'numeric', second: 'numeric'}).format(Date.now()); 6 | 7 | 8 | document.getElementById("weekday").innerHTML=neww; 9 | document.getElementById("date").innerHTML=newd; 10 | document.getElementById("time").innerHTML=newt; 11 | } 12 | fetchData(); 13 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Ethio_Date 5 | 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Ethio Date Status

13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
WeekdayDateTime
34 |
35 | 36 | 37 | 38 | 39 | 40 | --------------------------------------------------------------------------------