Custom Date Time Format - stripping leading zero from day value
See original GitHub issue- VSCode Version: 1.33.1 (User Setup)
- OS Version: Win 10 Enterprise
- REST Client Version: 0.21.3
Background
@connelhooley recently made a change to resolve #325 which allows us to use a custom date format as well as specifying a dynamic date in PR #361, although, again this is specific to just our use case, I noticed that when doing "{{$datetime 'YYYY-MM-DD' 5 d}}"
today (30th May, 5 days from now being 4th June), it isn’t including the leading 0 for the day, we are getting the following response from our internal API
"message": "Supplied value could not be accepted. Supplied date '2019-06-4' is invalid, ensure to supply in yyyy-MM-dd format."
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to Keep Leading Zero in Excel Date Format (9 Quick Ways)
3. Utilizing Custom Number Format to Keep Leading Zero in Excel Date Format · Initially, copy and paste the database of the D...
Read more >Remove leading zeros from time format - Stack Overflow
I would like to remove the leading zeros but always keeping the the last four character eg m:ss even if m would be...
Read more >Leading zeros in Excel: how to add, remove and hide - Ablebits
For this, select the cells where you want to hide zeros, click Ctrl+1 to open the Format Cells dialog, select Custom under Category,...
Read more >9 Ways To Add Leading Zeros In Excel
The TEXT function will let you apply a custom formatting to any number data already in your spreadsheet. = TEXT ( Value, Format)....
Read more >Custom Date Formats - Tableau Help
Supported date format symbols ; dd, Display the day as a number with a leading zero (01-31). ; ddd, Display the day as...
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
@connelhooley it should be released in this week 😄
Is there any update on when this will be released? I’d rather not get our entire team to download the zip and manually update the extension if possible.
Thanks