GUAC-1138: Use date format from translation string.

This commit is contained in:
Michael Jumper
2015-03-29 13:10:26 -07:00
parent 9eb9ccc5fa
commit 182376cc08
5 changed files with 41 additions and 7 deletions

View File

@@ -97,7 +97,7 @@ THE SOFTWARE.
<tbody>
<tr ng-repeat="wrapper in wrapperPage">
<td class="username">{{wrapper.entry.username}}</td>
<td class="start">{{wrapper.entry.startDate | date:'short'}}</td>
<td class="start">{{wrapper.entry.startDate | date:historyDateFormat}}</td>
<td class="duration">{{wrapper.durationText | translate:"{VALUE: wrapper.duration.value, UNIT: wrapper.duration.unit}"}}</td>
</tr>
</tbody>

View File

@@ -66,7 +66,7 @@ THE SOFTWARE.
<input ng-change="wrapperSelectionChange(wrapper)" type="checkbox" ng-model="wrapper.checked" />
</td>
<td>{{wrapper.activeConnection.username}}</td>
<td>{{wrapper.activeConnection.startDate | date:'short'}}</td>
<td>{{wrapper.activeConnection.startDate | date:sessionDateFormat}}</td>
<td>{{wrapper.activeConnection.remoteHost}}</td>
<td>{{wrapper.name}}</td>
</tr>