forked from mirrors/Scribe.js
commit
1af593566b
2 changed files with 1 additions and 3 deletions
|
@ -238,7 +238,7 @@
|
||||||
|
|
||||||
var offset = serverOffset - localOffset;
|
var offset = serverOffset - localOffset;
|
||||||
|
|
||||||
return timestamp + offset * 60;
|
return timestamp + offset * 60 * 1000;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -44,8 +44,6 @@
|
||||||
$scope.blocks = dates.map(function (item) {
|
$scope.blocks = dates.map(function (item) {
|
||||||
|
|
||||||
var itemDate = $rootScope.timezoneDate(item.date);
|
var itemDate = $rootScope.timezoneDate(item.date);
|
||||||
console.log(item.date);
|
|
||||||
console.log(itemDate);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
type : 'date',
|
type : 'date',
|
||||||
|
|
Loading…
Add table
Reference in a new issue