@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.mjs
CHANGED
|
@@ -13662,12 +13662,10 @@ class TimeFormatter {
|
|
|
13662
13662
|
*/
|
|
13663
13663
|
class MarketTimeCalculator {
|
|
13664
13664
|
calendar;
|
|
13665
|
-
formatter;
|
|
13666
13665
|
timezone;
|
|
13667
13666
|
constructor(timezone = MARKET_CONFIG.TIMEZONE) {
|
|
13668
13667
|
this.timezone = timezone;
|
|
13669
13668
|
this.calendar = new MarketCalendar(timezone);
|
|
13670
|
-
this.formatter = new TimeFormatter(timezone);
|
|
13671
13669
|
}
|
|
13672
13670
|
/**
|
|
13673
13671
|
* Get market open/close times for a date
|