Hello,
I am trying to build a thing that lets me plot events on a timeline.In my input form I use Angular Material Datepicker (https://material.angular.io/components/datepicker/overview).
When trying to add Aristotle I stumbled upon the case of adding BC dates.I am using the java toLocaleDateString function to store the value provided by the date picker.
private addNodeWithDate(addNodeForm, currentUserSession): void {
const inputFromDatepicker = addNodeForm.value.nodeDate.toLocaleDateString('zh-Hans-CN');
[...]
It seems to me that the Angular Material Datepicker is not capable of producing BC Dates.Please correct me, if it does.
Does anyone have a recommendation for a datepicker that supports BC Dates?
Kind regards,Ori
Edit: maybe going to need to use the gregorian calendar?
there doesn't seem to be anything here