Skip to content

Commit 3b7a384

Browse files
authored
Add the date format we didn't have (#313)
1 parent ce271fc commit 3b7a384

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/vscode-container-client/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.5.1 - 23 October 2025
2+
### Fixed
3+
* Fixed an issue with dates not always being parsed correctly. [#312](https://github.com/microsoft/vscode-docker-extensibility/issues/312)
4+
15
## 0.5.0 - 6 October 2025
26
### Added
37
* Package is now a combined CJS+ESM package, instead of just CJS. [#297](https://github.com/microsoft/vscode-docker-extensibility/pull/297)

packages/vscode-container-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@microsoft/vscode-container-client",
33
"author": "Microsoft Corporation",
4-
"version": "0.5.0",
4+
"version": "0.5.1",
55
"description": "Extensibility model for implementing container runtime providers (shared by VS and VS Code)",
66
"license": "See LICENSE in the project root for license information.",
77
"repository": {

packages/vscode-container-client/src/utils/dayjs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import utc from 'dayjs/plugin/utc';
1010
dayjsinner.extend(customParseFormat);
1111
dayjsinner.extend(utc);
1212

13-
const defaultFormats = ['YYYY-MM-DD HH:mm:ss ZZ'];
13+
const defaultFormats = ['YYYY-MM-DD HH:mm:ss ZZ', 'YYYY-MM-DDTHH:mm:ssZ'];
1414

1515
/**
1616
* Wrap the dayjs methods to apply a default Docker friendly format to all parsing

0 commit comments

Comments
 (0)