angular-datetime icon indicating copy to clipboard operation
angular-datetime copied to clipboard

Timestamp

Open celiovasconcelos opened this issue 6 years ago • 1 comments

Nice lib! Thank you.

The input is not loading the date when it is a timestamp (long). Is there any way to work with timestamps?

Thank you.

celiovasconcelos avatar Jan 05 '20 15:01 celiovasconcelos

The simplest way is to convert the timestamp into a Date object in the app.

Otherwise, You can create a directive which handles it automatically: https://codepen.io/eight04/pen/OJPzEoY?editors=1010

eight04 avatar Jan 06 '20 18:01 eight04