Re:Safari's date-picker is the cause of 1/3 of our customer ...
by andrepd on Tuesday December 27, 2022 @07:12AM
(#34147976)
Embedding wolframalpha is probably overkill, when all you need is simply a small arithmetic expression parser and to understand expressions like "next month" or "2 days ago", which even tools like GNU date support.
Re:Safari's date-picker is the cause of 1/3 of our customer ...
by bmitc on Tuesday December 27, 2022 @07:57AM
(#34148220)
For dates, probably, but I was more curious about other natural language use cases.
Re:Safari's date-picker is the cause of 1/3 of our customer ...
by throwaway2037 on Tuesday December 27, 2022 @09:36AM
(#34148999)
Hat tip that you mention GNU date. I am surprised each time I use that feature and it manages to produce the date that I wanted.
Edit: It seems that WolframAlpha does have an HTTP API.
https://products.wolframalpha.com/api/documentation
I'm curious if anyone has used it. It costs but it could save an immense amount of time.