This is what I get for living in GMT+0

This commit is contained in:
Joe Citrine 2016-12-20 21:27:41 +00:00 committed by GitHub
parent 9ba9eab424
commit 0b82ac76fc

View file

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