I use bootstrap and datetimepicker with momentjs in my frontend app. In C# code the format is defined as
'''dateTimePickerOptions.format = $"{DateFormatHelper.GetJSFormat()}LT'''
So then I open my app in the frontend , click on datetimepicker it appears and shows date and time correctly, but when I click on a date in the calendar it shows a date plus LT at the end, for example, 01/10/2021LT How to get rid of it LT at the end?
In your code LT is concatenate with your date statement you need to remove it
'''dateTimePickerOptions.format = $"{DateFormatHelper.GetJSFormat()}'''
confirm it's work for you or not !
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.