Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[useDateFormat()] MMMM causes 500 #2239

Closed
7 tasks done
jiblett1000 opened this issue Sep 21, 2022 · 1 comment
Closed
7 tasks done

[useDateFormat()] MMMM causes 500 #2239

jiblett1000 opened this issue Sep 21, 2022 · 1 comment

Comments

@jiblett1000
Copy link

Describe the bug

Using the long form month (MMMM) causes error matches[match] is not a function. Changing the same code to shorter format (MM) fixes issue.

Reproduction

https://github.com/jiblett1000/vueuse-date

System Info

System:
    OS: Linux 5.19 Fedora Linux 37 (Workstation Edition Prerelease)
    CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
    Memory: 1.60 GB / 7.49 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  npmPackages:
    @vueuse/core: ^9.2 => 9.2.0 
    @vueuse/nuxt: ^9.2 => 9.2.0

Used Package Manager

yarn

Validations

@jiblett1000
Copy link
Author

Whoops, I see there is already a merged PR to fix this. #2234

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant