Mottle

Results 3 issues of Mottle

I used it for the first time, and a lot of it was not very clear, but it was very good, thank you for providing this middleware. * Operating System:...

priority: 4 (nice to have)
help wanted
severity: 4 (inconvenient)
type: feature

**Describe the bug** ```js dayjs.extend(dayjs_plugin_utc) dayjs.extend(dayjs_plugin_timezone) dayjs.extend(dayjs_plugin_badMutable) dayjs.tz.setDefault('Etc/GMT-9'); // Offset 540 minutes const now = new Date(); // Beijing time today 13:38 // ✅ correct dayjs.tz(now).format('YYYY-MM-DD HH:mm') // 2022-08-25 14:38...

### Problem description --- Typescript type check failed, prompting `dayjs.tz()` method parameter cannot be empty! > S2554: Expected 1-3 arguments, but got 0. ``` ts // dayjs.js dayjs.extend(utc); dayjs.extend(timezone); dayjs.tz.setDefault(dayjs.tz.guess());...