@annalib/anna-core 16.1.5 → 16.1.6

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.
@@ -32,6 +32,7 @@ import { coerceNumberProperty } from '@angular/cdk/coercion';
32
32
  import { isDataSource, ArrayDataSource } from '@angular/cdk/collections';
33
33
  import * as i2$2 from '@angular/cdk/table';
34
34
  import { _COALESCED_STYLE_SCHEDULER, STICKY_POSITIONING_LISTENER, CdkHeaderRowDef } from '@angular/cdk/table';
35
+ import customParseFormat from 'dayjs/plugin/isSameOrAfter';
35
36
  import hash from 'object-hash';
36
37
 
37
38
  class AnnaFilterSearchedTextPipe {
@@ -6142,8 +6143,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
6142
6143
  }] } });
6143
6144
 
6144
6145
  class AnnaDateFormatterPipe {
6146
+ constructor() {
6147
+ }
6145
6148
  transform(value, format) {
6146
- return dayjs(value, format);
6149
+ dayjs.extend(customParseFormat);
6150
+ let formattedTime = dayjs(value).format(format);
6151
+ return formattedTime;
6147
6152
  }
6148
6153
  }
6149
6154
  AnnaDateFormatterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: AnnaDateFormatterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
@@ -6153,7 +6158,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
6153
6158
  args: [{
6154
6159
  name: 'AnnaDateFormatter'
6155
6160
  }]
6156
- }] });
6161
+ }], ctorParameters: function () { return []; } });
6157
6162
 
6158
6163
  // Angular import statements
6159
6164
  class AnnaCoreModule {