@everyonesoftware/common 12.0.0 → 13.0.0

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.
@@ -1,4 +1,4 @@
1
- import { g as JavascriptIterable, S as SyncResult, P as PromiseAsyncResult, l as Type, I as Iterable, A as AsyncResult, C as CharacterWriteStream, a as Clock, D as DateTime } from './characterWriteStream-CzPcNOCD.cjs';
1
+ import { g as JavascriptIterable, S as SyncResult, P as PromiseAsyncResult, l as Type, I as Iterable, A as AsyncResult, C as CharacterWriteStream, a as Clock, D as DateTime } from './characterWriteStream-DGlmRcFl.cjs';
2
2
 
3
3
  /**
4
4
  * A type that can be used to make assertions during a test.
@@ -1,4 +1,4 @@
1
- import { g as JavascriptIterable, S as SyncResult, P as PromiseAsyncResult, l as Type, I as Iterable, A as AsyncResult, C as CharacterWriteStream, a as Clock, D as DateTime } from './characterWriteStream-CzPcNOCD.js';
1
+ import { g as JavascriptIterable, S as SyncResult, P as PromiseAsyncResult, l as Type, I as Iterable, A as AsyncResult, C as CharacterWriteStream, a as Clock, D as DateTime } from './characterWriteStream-DGlmRcFl.js';
2
2
 
3
3
  /**
4
4
  * A type that can be used to make assertions during a test.
@@ -9,12 +9,12 @@ import {
9
9
  TestRunner,
10
10
  TestSkip,
11
11
  test
12
- } from "./chunk-FZ3WRQ7B.js";
12
+ } from "./chunk-P4KLLRFY.js";
13
13
  import {
14
14
  Clock,
15
15
  DateTime,
16
16
  PreCondition
17
- } from "./chunk-MHMLVX2O.js";
17
+ } from "./chunk-TUBXFCG4.js";
18
18
 
19
19
  // tests/FakeClock.ts
20
20
  var FakeClock = class _FakeClock extends Clock {
package/outputs/tests.cjs CHANGED
@@ -5754,6 +5754,9 @@ var LuxonDateTime = class _LuxonDateTime {
5754
5754
  toDateString() {
5755
5755
  return this.dateTime.toISODate();
5756
5756
  }
5757
+ toShortDateString() {
5758
+ return `${this.dateTime.monthShort} ${this.dateTime.day}`;
5759
+ }
5757
5760
  compareTo(dateTime, compareTimes) {
5758
5761
  return DateTime2.compareTo(this, dateTime, compareTimes);
5759
5762
  }
@@ -12658,6 +12661,7 @@ function test13(runner) {
12658
12661
  test58.assertEqual(18, dateTime.getMinute());
12659
12662
  test58.assertEqual(30, dateTime.getSecond());
12660
12663
  test58.assertEqual("2025-03-14", dateTime.toDateString());
12664
+ test58.assertEqual("Mar 14", dateTime.toShortDateString());
12661
12665
  test58.assertEqual("2025-03-14T20:18:30.000-07:00", dateTime.toString());
12662
12666
  test58.assertEqual("2025-03-14T20:18:30.000-07:00", dateTime.debug);
12663
12667
  });