[dakilla] fix a typo
This commit is contained in:
parent
575a97cc67
commit
b22bf5b404
|
@ -563,8 +563,8 @@ class ConversationTextview(gtk.TextView):
|
|||
after_str = gajim.config.get('after_time')
|
||||
# get difference in days since epoch (86400 = 24*3600)
|
||||
no_of_days_since_epoch = int(timegm(time.localtime())) / 86400 # for GMT time
|
||||
no_of_days_snce_epoch_for_msg = int(timegm(tim)) / 86400 # for GMT time
|
||||
diff_day = no_of_days_snce_epoch - no_of_days_snce_epoch_for_msg
|
||||
no_of_days_since_epoch_for_msg = int(timegm(tim)) / 86400 # for GMT time
|
||||
diff_day = no_of_days_since_epoch - no_of_days_since_epoch_for_msg
|
||||
if diff_day == 0:
|
||||
day_str = ''
|
||||
elif diff_day == 1:
|
||||
|
|
Loading…
Reference in New Issue