-
**Describe the bug**
A clear and concise description of what the bug is.
const duration2023 = this.$dayjs.duration(this.$dayjs('2023-12-31 23:59:59').diff(this.$dayjs('2023-01-01 00:00:00')));
out:…
-
### Package version
2.1.0
### Describe the bug
When validating a date with a format containing the symbol `Z` (see https://day.js.org/docs/en/display/format#list-of-all-available-formats) it …
-
**Describe the bug**
```ts
const date = new Date() // utc timezone date
// 2024-09-04T10:04:12.774Z
dayjs.tz(date, "Asia/Kolkata").toISOString()
// 2024-09-04T10:04:12.774Z
dayjs.tz(date.toI…
-
We decided to migrate the whole codebase to use `date-fns` instead of `moment` and `dayjs`.
This was triggered because our `backend` used `moment` which is no longer maintained and we would like to ha…
-
在node中使用,
```bash
ERROR in ../hulu-cli/node_modules/antd-dayjs-webpack-plugin/src/init-dayjs-webpack-plugin-entry.js 4:12-38
Module not found: Error: Can't resolve 'dayjs/dayjs.min' in '/Users/Mi…
-
Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.pnpm/dayjs@1.11.11/node_modules/dayjs/dayjs.min.js?v=f805e27d' does not provide an export named 'default' (at dayjs.imports.mjs:3:8)
-
**Describe the bug**
The values of dayjs().unix() and dayjs().utc().unix are the same, but dayjs().format('YYYY-MM-DD HH:mm:ss') and dayjs().utc().format('YYYY-MM-DD HH:mm:ss') are different
**E…
-
I encountered an issue with the example code provided in the @bitnoi.se/react-scheduler README. It seems that there are missing imports and setup that result in errors when trying to run the example.
…
-
#### Is this a bug, enhancement, or feature request?
#### Describe your proposal.
#### Can you handle that on the application side
No
#### Which versions of Angular and Fundamental Library f…
-
clone.localeData is not a function 这个错误通常是由于 dayjs 的使用方式与 Ant Design 的 DatePicker 组件之间不兼容造成的。因为 DatePicker 组件默认使用 moment.js,而你使用了 dayjs,所以需要确保 dayjs 已正确集成到组件中。
解决步骤:
安装必要的插件: 需要安装并配置 dayjs 的插件,如 l…