Comments (4)
Hey! Thanks for your feedback. Having a look now.
(edit:)
Yup, you've found a bug. Thanks!
You can see the issue by curling machine_friendly.csv
and noting that each loadshedding event is only the last one in the schedule you pasted:
$ curl -Ls https://github.com/beyarkay/eskom-calendar/releases/download/latest/machine_friendly.csv \
| grep "city-power-" \
| grep "2022-09-21"
city-power-16,2022-09-21T22:00:00+02:00,2022-09-22T00:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-9,2022-09-21T08:00:00+02:00,2022-09-21T10:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-3,2022-09-20T22:00:00+02:00,2022-09-21T00:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-8,2022-09-21T06:00:00+02:00,2022-09-21T08:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-4,2022-09-21T00:00:00+02:00,2022-09-21T02:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-15,2022-09-21T20:00:00+02:00,2022-09-21T22:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-10,2022-09-21T10:00:00+02:00,2022-09-21T12:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-7,2022-09-21T04:00:00+02:00,2022-09-21T06:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-6,2022-09-21T02:00:00+02:00,2022-09-21T04:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-14,2022-09-21T18:00:00+02:00,2022-09-21T20:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-11,2022-09-21T12:00:00+02:00,2022-09-21T14:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-13,2022-09-21T16:00:00+02:00,2022-09-21T18:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-12,2022-09-21T14:00:00+02:00,2022-09-21T16:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
So for example, there's only this line for block 14, because block 14 is the last entry in the list for 18h-20h30:
city-power-14,2022-09-21T18:00:00+02:00,2022-09-21T20:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
Likewise, there's only one entry for blocks 6, 10, and 11 because they're the last elements in their respective lists.
It shouldn't be too hard to fix, so hopefully will have it patched in a few hours.
from eskom-calendar.
Incredible speed. I can confirm its working. Youre the best. Thank you!
from eskom-calendar.
Should be being fixed now by b5a7fbe. You can watch the build here if you want, but it should finish in about 5 minutes. Once it's finished, your calendar app will pull down the changes.
If you're impatient and your calendar app isn't updating, some calendars allow you to 'force update', otherwise you can delete the old calendar, resubscribe, and then it will be forced to download the new schedule.
from eskom-calendar.
Yup, it all looks good to me. Thanks for raising the issue! these things are really tricky to spot on my own since I can't monitor every area all the time.
For posterity, here's the machine_friendly.csv curl of city-power-11 now that it's fixed:
$ curl -Ls https://github.com/beyarkay/eskom-calendar/releases/download/latest/machine_friendly.csv \
| grep "city-power-11" \
| grep "2022-09-21"
city-power-11,2022-09-21T02:00:00+02:00,2022-09-21T04:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-11,2022-09-21T10:00:00+02:00,2022-09-21T12:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-11,2022-09-21T12:00:00+02:00,2022-09-21T14:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
city-power-11,2022-09-21T18:00:00+02:00,2022-09-21T20:30:00+02:00,5,"https://twitter.com/Eskom_SA/status/1572254543668281344"
from eskom-calendar.
Related Issues (20)
- No areas found that match `eskom-direct-13-odd` HOT 4
- City Power Update Needed HOT 1
- Block 9 Ennerdale calendar incorrect HOT 1
- Missing area schedule HOT 2
- Ennerdale Block 10 - Missing area schedule HOT 1
- Schedule not accurate HOT 2
- Add a Pull-request check that ensures the CSVs are properly formatted
- Machine_friendly.csv is out of date. HOT 1
- eskom-calendar blank HOT 2
- Ennerdale Block 10 calendar issue
- Events not appearing in calendar HOT 3
- API ERROR - CERT_HAS_EXPIRED HOT 4
- Missing area schedule
- mossel bay
- Issue with time for 20:00 slot for City Power
- No areas found that match
- City Power 2 HOT 2
- Project is running but is not responding correctly. Try to restart it
- Maintaining the repo HOT 1
- western cape/firlands
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eskom-calendar.