jfsimon
Repos
36
Followers
81
Following
5

Events

issue comment
[fields] Token `do` is not supported using the `date-fns` adapter

It's a custom format of the date-fns library I'm passing through the format property of the DatePicker component.

Created at 2 weeks ago
opened issue
Token `do` is not supported using the `date-fns` adapter

Duplicates

  • [X] I have searched the existing issues

Latest version

  • [X] I have tested the latest version

Steps to reproduce πŸ•Ή

Steps:

  1. Use the DatePicker component
  2. Use eeee, LLLL do, yyyy or PPPP as format

Current behavior 😯

The date picker throws the following error:

Error: MUI: The token "do" is not supported by the Date and Time Pickers.
Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported.

Expected behavior πŸ€”

Format the date using the documented do token. See: https://date-fns.org/v2.29.3/docs/format

Context πŸ”¦

No response

Your environment 🌎

  System:
    OS: macOS 12.5.1
  Binaries:
    Node: 18.11.0 - /usr/local/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 9.5.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 110.0.5481.177 <-- I use this browser
    Edge: Not Found
    Firefox: 110.0.1
    Safari: 15.6.1
  npmPackages:
    @emotion/react: ^11.10.6 => 11.10.6
    @emotion/styled: ^11.10.6 => 11.10.6
    @mui/base:  5.0.0-alpha.119
    @mui/core-downloads-tracker:  5.11.12
    @mui/icons-material: ^5.11.11 => 5.11.11
    @mui/material: ^5.11.12 => 5.11.12
    @mui/private-theming:  5.11.12
    @mui/styled-engine:  5.11.11
    @mui/system: ^5.11.12 => 5.11.12
    @mui/types:  7.2.3
    @mui/utils:  5.11.12
    @mui/x-date-pickers: ^6.0.0 => 6.0.0
    @types/react: 18.0.28 => 18.0.28
    react: 18.2.0 => 18.2.0
    react-dom: 18.2.0 => 18.2.0
    typescript: 4.9.5 => 4.9.5

Order ID or Support key πŸ’³ (optional)

No response

Created at 2 weeks ago
opened issue
[Question] Long running tasks and app restart for update

Hello,

First of all, thank you for this library. I'm in love with Redis and Bull is a splendid queue manager built on it :) I know my question could seem a little naΓ―ve, but I cant find any resource on this topic.

I have long running tasks (up to several hours), it's working great but I wonder how to deal with app updates. When updating application, I need to restart the main consumer process, and it kills the tasks processes. Has anyone a trick to handle theses updates gracefully without restarting the jobs? Maybe using PM2 or something like that... If someone has already solved this problem, I'm all ear!

Created at 3 weeks ago
Created at 1 month ago
Created at 1 month ago
Created at 1 month ago