fingerpich / jalali-moment

Display, parse, manipulate, validate and convert jalali (Persian, Khorshidi, Shamsi) or Gregorian (Miladi) dates and times.
https://fingerpich.github.io/jalali-moment/
MIT License
436 stars 68 forks source link

Show Time in Angular pipe #95

Closed castell0riz0n closed 4 years ago

castell0riz0n commented 4 years ago

Hi, I want to show selected time beside the converted date I changed the pipe just like this

    let MomentDate = moment(value, 'YYYY/MM/DD HH:mm:ss');
    return MomentDate.locale('fa').format('YYYY/M/D HH:mm:ss');

but it shows the time like 1399/3/9 00:00:00, do you have any idea?

thanks in advance

fingerpich commented 4 years ago

Please create a demo