[Intl] fixed datetime test as described in #9455
minor #9506 [Intl] fixed datetime test as described in #9455 (andremaha)

This PR was merged into the 2.3 branch.

Discussion
----------

[Intl] fixed datetime test as described in #9455

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9455
| License       | MIT
| Doc PR        | -

Commits
-------

056d836 [Intl] fixed datetime test as described in #9455