Skip to content

Commit e105acb

Browse files
committed
Added note about simplified implementation
1 parent 81ddc67 commit e105acb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/discounts/extend_discounts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ And mark it as a service using the `ibexa.discounts.expression_language.variable
6868

6969
It's a function returning a boolean value indicating if today is the anniversary of the date passed as an argument.
7070
The function accepts an optional argument, `tolerance`, allowing you to extend the range of dates that are acccepted as anniversaries.
71+
This implementation is simplified and does not cover the approach for accounts created on February 29 during leap years.
7172

7273
``` php
7374
[[= include_file('code_samples/discounts/src/Discounts/ExpressionProvider/IsAnniversaryResolver.php') =]]

0 commit comments

Comments
 (0)