mirror of
https://github.com/openMF/community-app.git
synced 2026-02-06 11:36:48 +00:00
undoing fix #3196
This commit is contained in:
parent
187d35d2eb
commit
15c40c785c
@ -3,9 +3,13 @@
|
||||
DateFormat: function (dateFilter, localStorageService) {
|
||||
return function (input) {
|
||||
if (input) {
|
||||
// SAFARI is Bad We fix it
|
||||
remove = input.toString().split(",");
|
||||
var tDate = new Date(remove[0], remove[1]-1, remove[2]);
|
||||
// SAFARI is Bad We fix it Issue #3196
|
||||
// This fix affected transaction
|
||||
//remove = input.toString().split(",");
|
||||
//var tDate = new Date(remove[0], remove[1]-1, remove[2]);
|
||||
//return dateFilter(tDate, localStorageService.getFromLocalStorage('dateformat'));
|
||||
|
||||
var tDate = new Date(input);
|
||||
return dateFilter(tDate, localStorageService.getFromLocalStorage('dateformat'));
|
||||
}
|
||||
return '';
|
||||
|
||||
@ -467,7 +467,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="pointer-main" ng-hide="transaction.reversed"
|
||||
ng-repeat="transaction in savingaccountdetails.transactions | orderBy:transactionSort.column:transactionSort.descending">
|
||||
ng-repeat="transaction in savingaccountdetails.transactions | orderBy:transactionSort.column[2]:transactionSort.ascending">
|
||||
<td class="pointer"
|
||||
data-ng-click="routeTo(transaction.accountId,transaction.id,transaction.transfer,transaction.transfer.id)">
|
||||
{{transaction.id}}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user