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