Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.

Commit

Permalink
Use user timezone in /a/users
Browse files Browse the repository at this point in the history
  • Loading branch information
TheReverend403 committed Apr 8, 2016
1 parent fe1dfdf commit bfd9efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Please view this file on the master branch, on stable branches it's out of date.
v 1.0.2
- Add email to /u/preferences.
- Fix broken view counter.
- Make user created_at timestamp use user timezone in /a/users.

v 1.0.1
- Fixed missing translation for deleting users.
Expand Down
2 changes: 1 addition & 1 deletion resources/views/admin/users.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</td>
<td><a href="mailto:{{ $user->email }}"
title="Send an email to {{ $user->name }}">{{ $user->email }}</a></td>
<td>{{ $user->created_at }}</td>
<td>{{ $user->created_at->copy()->tz(Auth::user()->preferences->timezone) }}</td>
<td>{{ Cache::get('uploads_count:' . $user->id) }} ({{ App\Helpers::formatBytes(Cache::get('uploads_size:' . $user->id)) }})</td>
<td>
<ul class="list-unstyled list-inline list-noborder">
Expand Down

0 comments on commit bfd9efd

Please sign in to comment.