js 将CST的时间字符串转换成需要的日期格式字符串

例如,将Mon Apr 27 09:08:20 CST 2015转化为2015-4-27 09:08:20
请问实现这个功能的JS代码应该怎么写呢?

使用toLocaleString()方法试下:
/**
* @return a string representation of this date, using the locale
* conventions.
*/
public String toLocaleString();

使用:
Date date = new Date();
date.toLocaleString()

http://stackoverflow.com/questions/2771609/how-to-ignore-users-time-zone-and-force-date-use-specific-time-zone