Advertisement
Guest User

Untitled

a guest
May 23rd, 2015
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. //# sub-sequence
  2. $scope.convertDateFormat = function()
  3. {
  4. // 子檔
  5. if (Array.isArray($scope.dataItems.POP_HANDLING_CARGO_LIST)) {
  6. $scope.dataItems.POP_HANDLING_CARGO_LIST
  7. .forEach(function (itm) {
  8. itm.START_DT = new Date(itm.START_DT).dateFormat("Y/m/d h:i");
  9. itm.END_DT = new Date(itm.END_DT).dateFormat("Y/m/d h:i");
  10. });
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement