summaryrefslogtreecommitdiffstats
path: root/files/js
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-08-28 14:21:36 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-08-28 14:21:36 -0400
commita695aa307142505aa5c1519ed47bdf320d95b46e (patch)
treed9c373a7a1a0b79e7ce90b6ca6a9af43390c36ef /files/js
parent5f0ab971f1b1e9ffcd35d8fb7489fae8106dcef5 (diff)
downloadnextcloud-server-a695aa307142505aa5c1519ed47bdf320d95b46e.tar.gz
nextcloud-server-a695aa307142505aa5c1519ed47bdf320d95b46e.zip
Months for modified date need to be translated
Diffstat (limited to 'files/js')
-rw-r--r--files/js/files.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/js/files.js b/files/js/files.js
index e3b181262f9..f30f80aee85 100644
--- a/files/js/files.js
+++ b/files/js/files.js
@@ -270,8 +270,8 @@ function simpleFileSize(bytes) {
}
function formatDate(date){
- var monthNames = [ "January", "February", "March", "April", "May", "June",
- "July", "August", "September", "October", "November", "December" ];
+ var monthNames = [ t('files','January'), t('files','February'), t('files','March'), t('files','April'), t('files','May'), t('files','June'),
+ t('files','July'), t('files','August'), t('files','September'), t('files','October'), t('files','November'), t('files','December') ];
return monthNames[date.getMonth()]+' '+date.getDate()+', '+date.getFullYear()+', '+((date.getHours()<10)?'0':'')+date.getHours()+':'+date.getMinutes();
}