- Timestamp:
- 2013/06/08 16:35:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/Smarty/templates/sphone/mypage/index.tpl
r22563 r22856 136 136 historyEl = $(historyEl).clone(true).insertAfter(historyEl); 137 137 maxCnt++; 138 138 139 139 var regex = new RegExp('([0-9]{2,4}).([0-9]{1,2}).([0-9]{1,2}).([0-9]{1,2}).([0-9]{1,2}).'); 140 140 var matches = history.create_date.match(regex); … … 143 143 formatted_date = matches[1]+'/'+matches[2]+'/'+matches[3]+' '+matches[4]+':'+matches[5]; 144 144 } 145 145 146 146 var formatted_payment_total = history.payment_total.toString().replace(/([0-9]+?)(?=(?:[0-9]{3})+$)/g , '$1,'); 147 147
Note: See TracChangeset
for help on using the changeset viewer.