preloader
學習 Datetime Format With YYYY-MM-DD HH:mm:ss in Nodejs V18 and After | 在 nodejs v18以上版本是用內建函式製作日期時間格式 YYYY-MM-DD HH:mm:ss

Using nodejs v18+ built-in datetime formatter, code are below new Intl.DateimeFormat('fr', { timezone: 'Asia/Taipei', year: 'numeric', month: '2-digit', day: '2-digit', hour: '2-digit', minute: '2-digit', second: '2-digit', }).format(new Date('2024-10-24T10:00:03Z')) print 2024-10-24 18:00:03 It can be used to server and serverless environment such as GCP cloudfunction, …etc.

read more
Make Toggle Feature More Reusable and Influential | 讓你的開關功能更易重複使用和影響力
心得 Make Toggle Feature More Reusable and Influential | 讓你的開關功能更易重複使用和影響力

Share my opinion to toggle feature such as toggleCard() and toggleBtn. I provide a better way using such as setShowCardContentBy() or setShowCardContentTo() to create it. It will be useful at scenarios about pages, which are companied with this kind feature, grow with more features or elegant user experiences. It’s welcome to share it and used in your daily work. In many tutorials, it’s common to see an example about toggle

read more

About

Howard Lee is a Staff Software Engineer based in Taipei, specializing in frontend architecture, CI/CD, and production-quality engineering for enterprise web applications. With 13+ years of software development experience, Howard has worked across B2B SaaS, IoT energy-management platforms, online travel marketplaces, and Android applications. His work focuses on modernizing large frontend systems, improving delivery quality, and building reliable product workflows with automated testing, observability, and practical cloud/platform integration. Core Expertise Frontend architecture: Angular 5 to 19 modernization, TypeScript, JavaScript, React, Next.

Know More

Tag

Social