Ticket #1234: 0001-Add-time-to-dates.patch

File 0001-Add-time-to-dates.patch, 669 bytes (added by Torbjörn Lönnemark, 15 years ago)
  • deluge/common.py

    From 9290db37b1b4ee21104babed0cd352ed65a86a87 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Torbj=C3=B6rn=20L=C3=B6nnemark?= <tobbez@ryara.net>
    Date: Sun, 18 Apr 2010 23:24:01 +0200
    Subject: [PATCH] Add time to dates
    
    ---
     deluge/common.py |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/deluge/common.py b/deluge/common.py
    index c41fe7d..777b323 100644
    a b def fdate(seconds):  
    368368    """
    369369    if seconds < 0:
    370370        return ""
    371     return time.strftime("%x", time.localtime(seconds))
     371    return time.strftime("%x %X", time.localtime(seconds))
    372372
    373373def is_url(url):
    374374    """