hi guys this is my code its cshtml
<tr ng-repeat="transaction in transactions" style="border-bottom: 1px solid #88939e;">
<td class="index">{{$index + 1}}</td>
<td class="date">{{transaction.dateTime_}}</td>
<td>{{transaction.amount | currency | currency_d }}</td>
<td>
{{ transaction.type == '3' ? 'lose': transaction.type == '2' ? 'win':transaction.type == '7' ? 'cash out':transaction.type == '9' ? ' Increase account balance' : 'Return account balance' }}
</td>
<td>{{transaction.credit_before | currency | currency_d }}</td>
<td>{{transaction.credit_after | currency | currency_d }}</td>
</tr>
its an pulish site and i dont have access to the controller to edit code im a php programer but this code im new on it my propleam is {{transaction.dateTime_}} is back to persian calender in database time is english calendar but in controller convert to persain calender how can convert to english calender again can i do this with java script or just like php get data from database in loop to table from mssql in cshtml? can any body help?
I don't now how I can get the element from
<td class="date">{{transaction.dateTime_}}</td>
jQuery just gets
{{transaction.dateTime_}}
not the printed the value just like 2022/29/05 print this {{transaction.dateTime_}}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.