dayjs icon indicating copy to clipboard operation
dayjs copied to clipboard

Under ther HarmonyOS ,time formating cannot be automatically filled with zeros

Open grey-owl opened this issue 2 years ago • 2 comments

Describe the bug Under ther HarmonyOS Arkts project, time formating cannot be automatically filled with zeros .

Expected behavior

 // Expected 
 dayjs(1687226400000).format("HH:mm:ss") -> 10:00:00
 // Now
 dayjs(1687226400000).format("HH:mm:ss") -> 10:0:0

Information

  • Day.js Version [1.11.7]
  • OS: [HarmonyOS 3.1]
  • Browser [native]
  • Time zone: [UTC/GMT+08:00]

grey-owl avatar Jun 20 '23 02:06 grey-owl

请问解决了吗

SethCody avatar Dec 14 '23 08:12 SethCody

这个问题至今都没有解决吗? image 预览器正常的 image 但是真机和模拟器都不正常 image 你能说这个鸿蒙问题吗? 对比 momentjs 就是没问题的

steavengong avatar Jun 09 '24 05:06 steavengong