ReisG / Lifor

Organizing time app
1 stars 0 forks source link

Data parsing #5

Closed ReisG closed 2 years ago

ReisG commented 2 years ago

Added method for parsing .shld files. Now we can load data from our database using this function.

Also some __pycache__ files were deleted Please don't use git commit -a -m "message" Instead use git add filename and then git commit -m "message" This way you will not commit useless files

And i fixed my mistake in Event class

fresh-ops commented 2 years ago

We have to follow the OOP paradigms, so we need to create a separate class to deal with data like reading or writing.

ReisG commented 2 years ago

I made Parser class where you cannot create an instance of class. We will use class method Parser.get() to get a list of activities for any day we need.

ReisG commented 2 years ago

I added sorting mechanism. So now events of the day is sorted by beginning and then by ending.