- Added end_date automatic fill in case it's left empty (it will be equa...

I just added one function - fill($input). Everything else looks modified (but it isn't really) because I removed redundant spaces throughout the file. So, everything is 100% the same, except that I added fill($input).