{"section":"known-issues","requestedLocale":"en","requestedSlug":"error-date-to-must-be-greater-than-date-from-when-creating-pricing-rules","locale":"en","slug":"error-date-to-must-be-greater-than-date-from-when-creating-pricing-rules","path":"docs/en/known-issues/Pricing & Promotions/error-date-to-must-be-greater-than-date-from-when-creating-pricing-rules.md","branch":"main","content":"## Summary\n\n\nWhen creating a new price rule at https://\\{accountName\\}.myvtex.com/admin/pricing/#/trade-policies-rules the merchant can select the date range this rule will apply.\nSometimes the error \"TO value must be greater than FROM\" appears when selecting an end date, even when the value is already greater.\n\n\n##\n\n## Simulation\n\n\n\n1. Go to price rules\n2. Create a new rule with a valid date range (select a week range for instance)\n3. Check that the error will appear.\n\n\n##\n\n## Workaround\n\n\nSelecting greater end dates usually solves the problem (like a year ahead)."}