odoo / o-spreadsheet

Other
193 stars 44 forks source link

[FW][FIX] functions: COUNTIF count string dates #4740

Closed fw-bot closed 2 months ago

fw-bot commented 2 months ago

Description:

Steps to reproduce: in A1: ="01/01/2024" in B1: =COUNTIF(A1, "01/01/2024")

The result of B1 is 0, but it should be 1

Bug introduced with bde73c8f277a96c420fbdf33d8b119d6f2742da0

Task: : 4077445

review checklist

Forward-Port-Of: odoo/o-spreadsheet#4722

robodoo commented 2 months ago

Pull request status dashboard

fw-bot commented 2 months ago

@LucasLefevre @rrahir cherrypicking of pull request odoo/o-spreadsheet#4722 failed.

stdout:

Auto-merging src/functions/helpers.ts
Auto-merging tests/functions/module_math.test.ts
CONFLICT (content): Merge conflict in tests/functions/module_math.test.ts

Either perform the forward-port manually (and push to this branch, proceeding as usual) or close this PR (maybe?).

In the former case, you may want to edit this PR message as well.

:warning: after resolving this conflict, you will need to merge it via @robodoo.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port