@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.
- package/outputs/{characterWriteStream-CzPcNOCD.d.cts → characterWriteStream-DGlmRcFl.d.cts} +9 -0
- package/outputs/{characterWriteStream-CzPcNOCD.d.ts → characterWriteStream-DGlmRcFl.d.ts} +9 -0
- package/outputs/{chunk-FZ3WRQ7B.js → chunk-P4KLLRFY.js} +2 -2
- package/outputs/{chunk-MHMLVX2O.js → chunk-TUBXFCG4.js} +4 -1
- package/outputs/chunk-TUBXFCG4.js.map +1 -0
- package/outputs/sourceIndex.cjs +3 -0
- package/outputs/sourceIndex.cjs.map +1 -1
- package/outputs/sourceIndex.d.cts +3 -2
- package/outputs/sourceIndex.d.ts +3 -2
- package/outputs/sourceIndex.js +1 -1
- package/outputs/testIndex.cjs +3 -0
- package/outputs/testIndex.cjs.map +1 -1
- package/outputs/testIndex.d.cts +1 -1
- package/outputs/testIndex.d.ts +1 -1
- package/outputs/testIndex.js +2 -2
- package/outputs/tests.cjs +4 -0
- package/outputs/tests.cjs.map +1 -1
- package/outputs/tests.js +3 -2
- package/outputs/tests.js.map +1 -1
- package/package.json +1 -1
- package/outputs/chunk-MHMLVX2O.js.map +0 -1
- /package/outputs/{chunk-FZ3WRQ7B.js.map → chunk-P4KLLRFY.js.map} +0 -0
|
@@ -811,7 +811,16 @@ declare abstract class DateTime {
|
|
|
811
811
|
get debug(): string;
|
|
812
812
|
static debug(dateTime: DateTime): string;
|
|
813
813
|
abstract toString(): string;
|
|
814
|
+
/**
|
|
815
|
+
* Get the string representation of this {@link DateTime}'s date in the format "yyyy-mm-dd", such
|
|
816
|
+
* as "2020-05-13".
|
|
817
|
+
*/
|
|
814
818
|
abstract toDateString(): string;
|
|
819
|
+
/**
|
|
820
|
+
* Get the string representation of this {@link DateTime}'s date in the format "MMM d", such as
|
|
821
|
+
* "Mar 3".
|
|
822
|
+
*/
|
|
823
|
+
abstract toShortDateString(): string;
|
|
815
824
|
}
|
|
816
825
|
|
|
817
826
|
/**
|
|
@@ -811,7 +811,16 @@ declare abstract class DateTime {
|
|
|
811
811
|
get debug(): string;
|
|
812
812
|
static debug(dateTime: DateTime): string;
|
|
813
813
|
abstract toString(): string;
|
|
814
|
+
/**
|
|
815
|
+
* Get the string representation of this {@link DateTime}'s date in the format "yyyy-mm-dd", such
|
|
816
|
+
* as "2020-05-13".
|
|
817
|
+
*/
|
|
814
818
|
abstract toDateString(): string;
|
|
819
|
+
/**
|
|
820
|
+
* Get the string representation of this {@link DateTime}'s date in the format "MMM d", such as
|
|
821
|
+
* "Mar 3".
|
|
822
|
+
*/
|
|
823
|
+
abstract toShortDateString(): string;
|
|
815
824
|
}
|
|
816
825
|
|
|
817
826
|
/**
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
isString,
|
|
23
23
|
isUndefinedOrNull,
|
|
24
24
|
join
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TUBXFCG4.js";
|
|
26
26
|
|
|
27
27
|
// tests/test.ts
|
|
28
28
|
var Test = class _Test {
|
|
@@ -1196,4 +1196,4 @@ export {
|
|
|
1196
1196
|
BasicTestError,
|
|
1197
1197
|
ConsoleTestRunner
|
|
1198
1198
|
};
|
|
1199
|
-
//# sourceMappingURL=chunk-
|
|
1199
|
+
//# sourceMappingURL=chunk-P4KLLRFY.js.map
|
|
@@ -4324,6 +4324,9 @@ var LuxonDateTime = class _LuxonDateTime {
|
|
|
4324
4324
|
toDateString() {
|
|
4325
4325
|
return this.dateTime.toISODate();
|
|
4326
4326
|
}
|
|
4327
|
+
toShortDateString() {
|
|
4328
|
+
return `${this.dateTime.monthShort} ${this.dateTime.day}`;
|
|
4329
|
+
}
|
|
4327
4330
|
compareTo(dateTime, compareTimes) {
|
|
4328
4331
|
return DateTime2.compareTo(this, dateTime, compareTimes);
|
|
4329
4332
|
}
|
|
@@ -9587,4 +9590,4 @@ export {
|
|
|
9587
9590
|
WonderlandTrailItinerary,
|
|
9588
9591
|
WonderlandTrailClient
|
|
9589
9592
|
};
|
|
9590
|
-
//# sourceMappingURL=chunk-
|
|
9593
|
+
//# sourceMappingURL=chunk-TUBXFCG4.js.map
|