orbital-list
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -568,3 +568,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var withHoursAndMinutes = items.map(function (item) { | ||
var minutes = time.getUTCHours() * 60 - item.timezoneOffset + time.getUTCMinutes(); | ||
var minutes = time.getUTCHours() * 60 + time.getUTCMinutes() - item.timezoneOffset + 24 * 60; | ||
return _extends({}, item, { | ||
@@ -571,0 +571,0 @@ hour: Math.floor(minutes / 60) % 24, |
@@ -565,3 +565,3 @@ import React, { useRef, useState, useCallback, useEffect, createContext, useLayoutEffect, useContext } from 'react'; | ||
var withHoursAndMinutes = items.map(function (item) { | ||
var minutes = time.getUTCHours() * 60 - item.timezoneOffset + time.getUTCMinutes(); | ||
var minutes = time.getUTCHours() * 60 + time.getUTCMinutes() - item.timezoneOffset + 24 * 60; | ||
return _extends({}, item, { | ||
@@ -568,0 +568,0 @@ hour: Math.floor(minutes / 60) % 24, |
{ | ||
"name": "orbital-list", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A React library to display data using circles, orbits, and planets.", | ||
@@ -5,0 +5,0 @@ "author": "lsenta", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
152041