foss-np / batti

:bulb: load-shedding schedule for terminal!
Other
19 stars 12 forks source link

Latest Schedule has broken the formatting #36

Open amitness opened 8 years ago

amitness commented 8 years ago

I used the batti -u command to fetch the latest update.

Now, the formatting contains some extra characters. Here's an excerpt from the output now.


 Group 7: 12 00-1600 1100-1500 0700-1100 z'qmaf/ 1000-1400 00-1200 
          00-2030 20 00-2200 1900-2130 1600-2000 --------- 0500-0900 
          1400-1700 00-1000 09 00-1200 naf/ a'waf/ 1830-2100 
rhoit commented 8 years ago

yup its broken, this is completely different dump layout, generic parser isn't design for this :(. have to find new way to stop this madness, any one up for the task? have added the testing samples. run ./main.sh from test branch, to test all cases.