zek 17.3.12 → 17.3.14

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 +1,2 @@
1
+ export * from './local-to-utc.pipe';
1
2
  export * from './utc-to-local.pipe';
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DatePipe } from '@angular/common';
3
+ import * as i0 from "@angular/core";
4
+ export declare class LocalToUtcPipe implements PipeTransform {
5
+ private readonly _datePipe;
6
+ constructor(_datePipe: DatePipe);
7
+ transform(value: Date | string | number | null | undefined, format?: string): string | null;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocalToUtcPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<LocalToUtcPipe, "localToUtc", true>;
10
+ }
@@ -6,6 +6,7 @@ export declare class DateHelper {
6
6
  static toISODateString(value: Date | string): string | null;
7
7
  private static readonly _utcDiff;
8
8
  static utcToLocal(utc: Date): Date;
9
+ static localToUtc(utc: Date): Date;
9
10
  static addTime(value: Date, time: string | undefined | null): Date;
10
11
  static addYears(v: Date, years: number): Date;
11
12
  static addMonths(v: Date, months: number): Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zek",
3
- "version": "17.3.12",
3
+ "version": "17.3.14",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.0",
6
6
  "@angular/core": "^17.3.0"