[dakilla] fix a typo

This commit is contained in:
Nikos Kouremenos 2006-01-18 14:09:02 +00:00
parent 575a97cc67
commit b22bf5b404
1 changed files with 2 additions and 2 deletions

View File

@ -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: