gggg not working correctly
See original GitHub issueDescribe the bug gggg not returns week year, but just a year The same functionality in moment js works correctly
const dayjs = require('dayjs');
const moment = require('moment')
const weekOfYear = require('dayjs/plugin/weekOfYear');
const weekYear = require('dayjs/plugin/weekYear');
const advancedFormat = require('dayjs/plugin/advancedFormat');
require('dayjs/locale/en-gb')
dayjs.locale('en-gb')
dayjs.extend(weekYear)
dayjs.extend(weekOfYear)
dayjs.extend(advancedFormat)
console.log(dayjs().toString())
console.log(dayjs().format('gggg-ww'))
console.log(moment().locale('en-gb').format('gggg-ww'))
Expected behavior Sun, 03 Jan 2021 20:38:27 GMT 2020-53 2020-53
Result Sun, 03 Jan 2021 20:38:27 GMT 2021-53 2020-53
Information
- Day.js Version 1.10.1
- OS: linux
- Browser chrome 87
- Time zone: UTC+3 (Europe/Moscow)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Issuehunt
Describe the bug gggg not returns week year, but just a year The same functionality in moment js works correctly const dayjs =...
Read more >G-G-G-G-G-G-GGN-UnIT - YouTube
Ask and you shall receive. Finally.... none other than the G-Unit is in the house. United again, they stop by GGN to talk...
Read more >Why am I often getting a double gg and double hh from my ...
It looks like letters 'h' and 'g' are not displaying properly or behaves abnormally while working with the keyboard.
Read more >Troubleshooting demultiplexing issues using BaseSpace ...
To find the files in your BaseSpace Hub project, click on the FASTQ Generation link in the Analyses list.
Read more >A Combinatorial Code for Splicing Silencing: UAGG ... - PLOS
Thus, a central problem is to understand the combinatorial mechanisms ... harbor UAGG and GGGG motifs together in the correct arrangement.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

🎉 This issue has been resolved in version 1.10.3 🎉
The release is available on:
Your semantic-release bot 📦🚀
bug confirmed.