我正在使用Angular JS Material Design Date Time Picker。我以dd / MM / YYYY格式拍摄日期。当我访问此字段的值时,它给出的值小于选定日期。
E.g。而不是2017/08/31,它将返回2017/08/30。
<div flex-gt-xs>
<md-datepicker ng-required="true" ng-model-options="{timezone:'+0530'}" ng-model="objGeneralDetails.strDocumentDate" class="smalltext" name="DocumentDate" md-placeholder="Document Date" style="margin-left:-10px;">
</md-datepicker>
</div>