Guy Pursey

Results 6 comments of Guy Pursey

You could try using [the Node package `ttys`](https://www.npmjs.com/package/ttys) and setting the `stdin` property of the Prompts object to `ttys.stdin`? For example: ``` const ttys = require('ttys'); const prompts = require("prompts");...

For what it's worth, I'd welcome this addition too.

I encountered this issue today too. **Example** startDate = dayjs("2021-09-21") endDate = dayjs("2050-09-21") dayjs(startDate).add(29, "y").toDate() // returns "2050-09-21", same as endDate as expected -- 29 years' difference dayjs.duration(endDate.diff(startDate)) // returns...

Further evidence for the above observed in [comment on a related issue](https://github.com/iamkun/dayjs/issues/1063#issuecomment-696467960). Brief [thread on more accurate duration requirements](https://github.com/iamkun/dayjs/issues/1100) also adds to this.

Also having this issue, after I decided to restructure my folders/files this morning

> Hmmm I accidentally stumbled upon the solution. My folder structure looks like this: > > ``` > excluded_folder/ > included_folder/ > post1.md > post2.md > other_folder/ > ``` >...