-
Notifications
You must be signed in to change notification settings - Fork 56
Description
Description
HI Colleagues,
We are part of the CAP Operator module team and have developed several custom busola UIs for our CROs: https://github.com/SAP/cap-operator-lifecycle/tree/main/config/busola
Within these UIs, we use the readableTimestamp function to convert the resource creation timestamp into a human-readable format. However, when applying this function, only the date is displayed in the UI, while the time component is omitted entirely.
For example, consider the following code:
- name: Created
source: $readableTimestamp($relatedJobs().items[metadata.labels.`sme.sap.com/workload-name` = $item.name and metadata.labels.`sme.sap.com/workload-type` = $item.type].metadata.creationTimestamp)results in
Only the date is displayed, while the time component is missing, which makes troubleshooting and issue analysis more difficult. We reviewed the documentation but did not find any alternative function that includes the time.
Although we found getReadableTimestampWithTime in the source code, it does not appear to be publicly exposed for external use.
Technical details:
Kubernetes Version: v1.33.7
API Server Address: https://api.e578c5e.stage.kyma.ondemand.com/
Expected result
We would appreciate it if the existing function could be enhanced or if a new function could be introduced to display both the date and time components in the UI.