Skip to content

Commit fb294e5

Browse files
Prettify date column in 'oldest-active' function (#38)
1 parent 1d17967 commit fb294e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def unused_file_redirects( self ):
249249
def oldest_active( self ):
250250
query = """SELECT SQL_SMALL_RESULT
251251
CONCAT( '[[User:',user_name,'|',user_name,']]' ) AS user_name,
252-
user_registration,
252+
date_format(user_registration, '%Y-%m-%d %H-%i-%S'),
253253
user_editcount
254254
FROM (
255255
SELECT user_name, user_registration, user_editcount

0 commit comments

Comments
 (0)