Fixes T373: Moment.js now assumes whatever it's given is UTC.

This commit is contained in:
Peter Deltchev 2015-09-20 00:27:52 -07:00
parent ec838559e3
commit 7d047a41e4
3 changed files with 8 additions and 8 deletions

View file

@ -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

View file

@ -74,6 +74,6 @@ return [
|
*/
'prefix' => 'ponyfm',
'prefix' => 'ponyfm_',
];

View file

@ -1,3 +1,3 @@
angular.module('ponyfm').filter 'momentFromNow', () ->
(input) ->
moment(input).fromNow()
moment.utc(input).fromNow()