Fixed broken time check

This commit is contained in:
Josef Citrine 2016-12-18 13:02:49 +00:00
parent e23e1a3dab
commit 59130e0bda

View file

@ -33,7 +33,7 @@ module.exports = angular.module('ponyfm').directive 'pfmTrackEditor', () ->
$scope.isAdmin = auth.data.isAdmin $scope.isAdmin = auth.data.isAdmin
albumsDb = {} albumsDb = {}
$scope.disableHwc = new Date < new Date('2016-12-20 23:59:59') $scope.disableHwc = new Date > new Date('2016-12-20 23:59:59')
$scope.data = upload $scope.data = upload
$scope.userSlug = $state.params.slug $scope.userSlug = $state.params.slug