Update diary.py

Changed place, where date and time will be taken 'cause in some pages there is no date-time in usual place