I am using dateTimePicker for my AngularJS application and I have set the value as below in my code.
<adm-dtp ng-model="expDate" options='{format: "YYYY-MM-DD hh:mm:00"}>
<button class="btn date-btn" dtp-toggle>
<i class="fa fa-calendar" aria-hidden="true"></i>
</button>
</adm-dtp>
in my expDate variable has a value 2021-05-24 23:59:59 , but, It is display as 1970-01-01 05:30:00. I have set calType: 'gregorian' for entire of application.
please help me to identify the issue which I did ?.