From 986afffd9f442f7a6d68bc6e738489598f6cb371 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 12 Oct 2016 12:43:37 +0000 Subject: [PATCH] fixed the bug in the diff view that shows wrong date and time --- codepot/src/codepot/views/code_diff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codepot/src/codepot/views/code_diff.php b/codepot/src/codepot/views/code_diff.php index 917b0e49..01375cea 100644 --- a/codepot/src/codepot/views/code_diff.php +++ b/codepot/src/codepot/views/code_diff.php @@ -242,7 +242,7 @@ $this->load->view ( print '
'; printf ('[%s] ', $file['against']['created_rev']); - print strftime ('%Y-%m-%d %H:%M:%S %z', $file['time_t']); + print strftime ('%Y-%m-%d %H:%M:%S %z', $file['against']['time_t']); print '
' ?>