date-fns / date-fns.org

🏡 date-fns website 🌈
https://date-fns.org
MIT License
55 stars 32 forks source link

Make functions avaliable on website console #156

Closed JuanchiRios closed 3 years ago

JuanchiRios commented 4 years ago

There is a closed issue date-fns/date-fns#701 for this. I found this to be really useful. As a workaround, I'm using pages like https://stackblitz.com/edit/date-fns-playground but it's not the same.

kossnocorp commented 4 years ago

Sorry about that! I had to remove this feature because it didn't consider the selected version. v1 and v2 are very different, and it confused people. Also, v2 doesn't have a UMD build. I didn't have time to add it back, and nobody volunteered to help.

JuanchiRios commented 4 years ago

@kossnocorp I can do it but I will need some guidance. Is there any better way to contact you?

adpirz commented 4 years ago

@JuanchiRios Did you end up picking this up?

If not, @kossnocorp, would be happy to help reintroduce this -- we use date-fns heavily and also found tinkering with it in the console useful

leshakoss commented 3 years ago

Duplicates #144. Working on it in #176

deathemperor commented 11 months ago

not sure if I should post here but the feature is broken for awhile now. got this error running init()

image

kossnocorp commented 10 months ago

@deathemperor thank you for the comment, yeah the latest 2.30.0 version doesn't work well with ESM, so I just locked 2.29.3 until v3 is shipped.

deathemperor commented 10 months ago

@deathemperor thank you for the comment, yeah the latest 2.30.0 version doesn't work well with ESM, so I just locked 2.29.3 until v3 is shipped.

appreciate the support. It helps. I set up this func in our local development for ease of API test and now it works with v2.29.3 locked in