mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 06:27:59 +01:00
Fixes T373: Moment.js now assumes whatever it's given is UTC.
This commit is contained in:
parent
ec838559e3
commit
7d047a41e4
3 changed files with 8 additions and 8 deletions
|
@ -9,12 +9,12 @@ use getid3_writetags;
|
|||
use Helpers;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Cache;
|
||||
use Illuminate\Support\Facades\Config;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Support\Facades\URL;
|
||||
use Auth;
|
||||
use Cache;
|
||||
use Config;
|
||||
use DB;
|
||||
use Log;
|
||||
use URL;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class Track extends Model
|
||||
|
|
|
@ -74,6 +74,6 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'prefix' => 'ponyfm',
|
||||
'prefix' => 'ponyfm_',
|
||||
|
||||
];
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
angular.module('ponyfm').filter 'momentFromNow', () ->
|
||||
(input) ->
|
||||
moment(input).fromNow()
|
||||
moment.utc(input).fromNow()
|
||||
|
|
Loading…
Reference in a new issue