mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Date format in the downloadable menu/layout/skin list fixed
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12068 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
da5bc6ef02
commit
5fa752e3b9
1 changed files with 10 additions and 1 deletions
|
|
@ -2128,7 +2128,7 @@ jQuery(function($){
|
|||
ScreenShotURL: item.item_screenshot_url.replace(/^http:\/\//, ""),
|
||||
Score: item.package_star,
|
||||
TotalVotes: item.package_voted,
|
||||
LastUpdated: item.item_regdate,
|
||||
LastUpdated: formatUpdatedDate(item.item_regdate),
|
||||
TotalDownloads: item.package_downloaded,
|
||||
IsInstalled: sIsInstalled
|
||||
} ).data('sItemType', sItemType).data('sPackageSrl', item.package_srl);
|
||||
|
|
@ -3208,6 +3208,15 @@ exec_xml("menu","getMenuAdminDetailSetup", params, completeTmp, response_tags);
|
|||
|
||||
});
|
||||
|
||||
function formatUpdatedDate(sDate){
|
||||
//20120106184020
|
||||
//2012-01-06 18:40:20
|
||||
|
||||
return sDate.replace(/(....)(..)(..)(..)(..)(..)/, function(all, year, mon, day, hour, min, sec){
|
||||
return year+"-"+mon+"-"+day+" "+hour+":"+min+":"+sec;
|
||||
});
|
||||
}
|
||||
|
||||
top.fullSetupWinLoaded = function(){
|
||||
var oWin = jQuery._xeAdminVar.oSetupWin;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue