@sumaris-net/ngx-components 1.22.12-rc2 → 1.22.12
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/bundles/sumaris-net.ngx-components.umd.js +6 -4
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/doc/changelog.md +3 -0
- package/esm2015/src/app/shared/dates.js +8 -6
- package/esm2015/src/app/shared/material/datetime/material.datetime.js +1 -1
- package/esm2015/src/app/shared/material/datetime/testing/mat-date-time.test.js +1 -1
- package/fesm2015/sumaris-net.ngx-components.js +6 -4
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/dates.d.ts +3 -2
package/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as momentImported from 'moment';
|
|
1
2
|
import { Duration, Moment, unitOfTime } from 'moment';
|
|
2
3
|
export declare const DATE_UNIX_TIMESTAMP = "X";
|
|
3
4
|
export declare const DATE_UNIX_MS_TIMESTAMP = "x";
|
|
@@ -30,6 +31,6 @@ export declare class DateUtils {
|
|
|
30
31
|
}
|
|
31
32
|
export declare function toDateISOString(value: any): string | undefined;
|
|
32
33
|
export declare function fromDateISOString(value: any): Moment | undefined;
|
|
33
|
-
export declare function fromUnixTimestamp(timeInSec: number): Moment;
|
|
34
|
-
export declare function fromUnixMsTimestamp(timeInMs: number): Moment;
|
|
34
|
+
export declare function fromUnixTimestamp(timeInSec: number): momentImported.Moment;
|
|
35
|
+
export declare function fromUnixMsTimestamp(timeInMs: number): momentImported.Moment;
|
|
35
36
|
export declare function toDuration(value: number, unit?: moment.unitOfTime.DurationConstructor): Duration;
|