@discomedia/utils 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-frontend.cjs +0 -2
- package/dist/index-frontend.cjs.map +1 -1
- package/dist/index-frontend.mjs +0 -2
- package/dist/index-frontend.mjs.map +1 -1
- package/dist/index.cjs +1 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/types/market-time.d.ts +0 -1
- package/dist/types/market-time.d.ts.map +1 -1
- package/dist/types-frontend/market-time.d.ts +0 -1
- package/dist/types-frontend/market-time.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index-frontend.cjs
CHANGED
|
@@ -13664,12 +13664,10 @@ class TimeFormatter {
|
|
|
13664
13664
|
*/
|
|
13665
13665
|
class MarketTimeCalculator {
|
|
13666
13666
|
calendar;
|
|
13667
|
-
formatter;
|
|
13668
13667
|
timezone;
|
|
13669
13668
|
constructor(timezone = MARKET_CONFIG.TIMEZONE) {
|
|
13670
13669
|
this.timezone = timezone;
|
|
13671
13670
|
this.calendar = new MarketCalendar(timezone);
|
|
13672
|
-
this.formatter = new TimeFormatter(timezone);
|
|
13673
13671
|
}
|
|
13674
13672
|
/**
|
|
13675
13673
|
* Get market open/close times for a date
|