Easily Format Dates With Vue & VueUse

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 มี.ค. 2023
  • 📕 Vue 3 Crash Course: johnkomarnicki.gumroad.com/l/...
    🤖 SaaS I'm Building (WebDevDaily): www.webdevdaily.io/
    📹 Writeable computed properties: • Writeable computed pro...
    📹 defineModel: • This New Vue 3.3 defin...
    🚀 Join the channel : / @johnkomarnicki
    🤖 Website: johnkomarnicki.com/
    🐦 Twitter: / john_komarnicki
    Easily format dates using the useDateFormat & formatDate composable's from VueUse
    useDateFormat: vueuse.org/shared/useDateFormat/
    #vue #vue3 #vueUse

ความคิดเห็น • 22

  • @JohnKomarnicki
    @JohnKomarnicki  ปีที่แล้ว +3

    *One thing i would like to point out is if you use the useNow() then you're time will be reactive. In the example used, it would only update once every 24 hours when the date changes. However if you were to use format hh:MM:ss then it would be updated every second. If you wish to avoid this then use the new Date() instead.

  • @jimlung1357
    @jimlung1357 ปีที่แล้ว

    Thanks, for this! Would love to see a series explaining each vueuse composable and possible applications of them

  • @dimapolo6313
    @dimapolo6313 ปีที่แล้ว +2

    I'm consistently impressed by the quality of your content.Your content is absolute gold :)

  • @overrevvv

    Thank you so much for this video.

  • @iUmerFarooq
    @iUmerFarooq ปีที่แล้ว

    I come from Brad's channel to learn Vue from this channel. Please upload vue projects on this channel.

  • @tranchuong1489

    Thanks, for this ❤.

  • @zoran716
    @zoran716 ปีที่แล้ว

    this is hilarious but i was watching another one of your videos, turned around to download moment into an app and this came on as the next video... lol. i mean so much better than moment and vueuse is amazing lol, couldn't have been better timing for real lol. A++++ every time

  • @ahmedallawi8638

    I'm trying to use the formatDate, but I think they have deleted it because it's not working

  • @kombechangala3156

    Thanks for the video, super helpful.

  • @user-pr4vj2qo7g
    @user-pr4vj2qo7g ปีที่แล้ว

    what is that extension to log your output directly in vs code??

  • @heruhailiuhuang533
    @heruhailiuhuang533 ปีที่แล้ว

    How to show log value editor?

  • @SigmundJaehn

    Why would you want to do this and lose all the locale specific stuff? Not every country formats dates the same way.

  • @DanielTames
    @DanielTames ปีที่แล้ว

    Excellent video John!!