We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.

You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.

How to use the @fundamental-ngx/core.FdDatetime function in @fundamental-ngx/core

To help you get started, we’ve selected a few @fundamental-ngx/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SAP / fundamental-ngx / apps / docs / src / app / core / component-docs / datetime-picker / examples / datetime-format-example / datetime-format-example.component.ts View on Github external
public parse(value: string): FdDatetime {
        value = value.replace(/[\/hms ]/g, '-');
        const values: number[] = value.split('-').map(Number);
        return new FdDatetime(new FdDate(values[0], values[1], values[2]), {hour: values[3], minute: values[4], second: values[5]} );
    }

@fundamental-ngx/core

Fundamental Library for Angular - core

Apache-2.0
Latest version published 2 months ago

Package Health Score

86 / 100
Full package analysis

Similar packages