Skip to content

Firefly III: a personal finances manager

Test for date.

James Colec43439bb68e9
diff --git a/resources/views/list/accounts.blade.php b/resources/views/list/accounts.blade.php
index 1842783530..1942217ab8 100644
--- a/resources/views/list/accounts.blade.php
+++ b/resources/views/list/accounts.blade.php
@@ -8,7 +8,7 @@
@endif
<th>Current balance</th>
<th>Active</th>
- <th data-dateformat="D MMMM YYYY">Last activity</th>
+ <th data-dateformat="YYYY-MM-DD">Last activity</th>
<th>Balance difference between {{Session::get('start')->format('jS F Y')}} and {{Session::get('end')->format('jS F Y')}}</th>
</tr>
</thead>
@@ -41,7 +41,7 @@
@endif
</td>
@if($account->lastActivityDate)
- <td>
+ <td data-value="{{$account->lastActivityDate->format('Y-m-d')}}">
{{{$account->lastActivityDate->format('j F Y')}}}
</td>
@else
diff --git a/resources/views/list/categories.blade.php b/resources/views/list/categories.blade.php
index 3190591d56..717214af0d 100644
--- a/resources/views/list/categories.blade.php
+++ b/resources/views/list/categories.blade.php
@@ -3,7 +3,7 @@
<tr>
<th data-defaultsort="disabled">&nbsp;</th>
<th>Name</th>
- <th data-dateformat="DD-MM-YYYY">Last activity</th>
+ <th data-dateformat="YYYY-MM-DD">Last activity</th>
</tr>
</thead>
<tbody>
@@ -24,7 +24,7 @@
<a href="{{route('categories.show',$category->id)}}" title="{{{$category->name}}}">{{{$category->name}}}</a>
</td>
@if($category->lastActivity)
- <td data-value="{{$category->lastActivity->format('d-m-Y')}}">
+ <td data-value="{{$category->lastActivity->format('Y-m-d')}}">
{{$category->lastActivity->format('jS F Y')}}
</td>
@else