Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fix or-input week type display value bug

Rich Turnerd88c3604833e
diff --git a/ui/component/or-input/src/index.ts b/ui/component/or-input/src/index.ts
index 78d338908..dd763decb 100644
--- a/ui/component/or-input/src/index.ts
+++ b/ui/component/or-input/src/index.ts
@@ -561,7 +561,7 @@ export class OrInput extends LitElement {
format = "YYYY-MM-DD";
break;
case InputType.WEEK:
- format = "YYYY-Www";
+ format = "YYYY-[W]WW";
break;
case InputType.MONTH:
format = "YYYY-MM";