@nettyapps/ntybase 0.0.5 → 0.0.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.
package/index.d.ts CHANGED
@@ -183,6 +183,20 @@ declare class CommonService {
183
183
  * @returns
184
184
  */
185
185
  dateFormatter(dateValue: Date): string;
186
+ /**
187
+ * Format date into 'dd-MM-yyyy HH:mm:ss' format for grids
188
+ * @param dateValue
189
+ * @param seconds if true, format includes seconds
190
+ * @returns
191
+ */
192
+ dateTimeFormatter(dateValue: Date, seconds?: boolean): string;
193
+ /**
194
+ * Format time into 'HH:mm' or 'HH:mm:ss' format for grids
195
+ * @param dateValue
196
+ * @param seconds if true, format includes seconds
197
+ * @returns
198
+ */
199
+ timeFormatter(dateValue: Date, seconds?: boolean): string;
186
200
  /** Reactive Signal state for tracking grid updates */
187
201
  private _updates;
188
202
  /** Read-only Signal for external components to observe updates */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nettyapps/ntybase",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.7",
6
6
  "@angular/core": "^20.1.7"