@open-tender/utils 0.4.43 → 0.4.44

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.
@@ -158,10 +158,10 @@ const getRevenueCenterStatus = (hours, firstTimes, serviceType, timezone) => {
158
158
  const firstTimeDate = (0, date_fns_1.parseISO)(serviceFirstTimes.date);
159
159
  const canOrderToday = (0, date_fns_1.isToday)(firstTimeDate);
160
160
  if (canOrderToday)
161
- return 'Currently Closed, Order for later today';
161
+ return 'Currently closed, order for later today';
162
162
  const nextAvailableDate = (0, date_fns_1.isTomorrow)(firstTimeDate)
163
163
  ? 'tomorrow'
164
164
  : (0, date_fns_1.format)(firstTimeDate, 'EEEE');
165
- return `Closed for the Day, Order for ${nextAvailableDate}`;
165
+ return `Closed for today, order for ${nextAvailableDate}`;
166
166
  };
167
167
  exports.getRevenueCenterStatus = getRevenueCenterStatus;
@@ -147,9 +147,9 @@ export const getRevenueCenterStatus = (hours, firstTimes, serviceType, timezone)
147
147
  const firstTimeDate = parseISO(serviceFirstTimes.date);
148
148
  const canOrderToday = isToday(firstTimeDate);
149
149
  if (canOrderToday)
150
- return 'Currently Closed, Order for later today';
150
+ return 'Currently closed, order for later today';
151
151
  const nextAvailableDate = isTomorrow(firstTimeDate)
152
152
  ? 'tomorrow'
153
153
  : format(firstTimeDate, 'EEEE');
154
- return `Closed for the Day, Order for ${nextAvailableDate}`;
154
+ return `Closed for today, order for ${nextAvailableDate}`;
155
155
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/utils",
3
- "version": "0.4.43",
3
+ "version": "0.4.44",
4
4
  "description": "A library of utils for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",