@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.cjs CHANGED
@@ -311,12 +311,10 @@ class TimeFormatter {
311
311
  */
312
312
  class MarketTimeCalculator {
313
313
  calendar;
314
- formatter;
315
314
  timezone;
316
315
  constructor(timezone = MARKET_CONFIG.TIMEZONE) {
317
316
  this.timezone = timezone;
318
317
  this.calendar = new MarketCalendar(timezone);
319
- this.formatter = new TimeFormatter(timezone);
320
318
  }
321
319
  /**
322
320
  * Get market open/close times for a date
@@ -806,7 +804,7 @@ function getTradingStartAndEndDates(options = {}) {
806
804
  }
807
805
  return { startDate, endDate: endMarketClose };
808
806
  }
809
- // Export the old MARKET_TIMES constant for backward compatibility
807
+ // Export the MARKET_TIMES constant for backward compatibility
810
808
  const MARKET_TIMES = {
811
809
  TIMEZONE: MARKET_CONFIG.TIMEZONE,
812
810
  PRE: {