Angularjs, how to format a oracle timestamp(6) to string without losing the last 3 digits?

  Kiến thức lập trình

AngularJS has a date filter, but it seems the accuracy can only down to milliseconds.
https://docs.angularjs.org/api/ng/filter/date

so for a oracle timestamp(6) which accuracy down to six decimal digit (e.g. 07-APR-20 12.37.00.795753000), how to format it in angularjs?

if using

{{i | date:'yyyy-MM-dd HH:mm:ss.sss'}}

only 2020-04-07 12:37:00.795
is shown.

LEAVE A COMMENT