031126a1b8
Previously there were 3 implementations of `LocaleBackend`: `DesktopLocaleBackend`, `WebLocaleBackend` and `NullLocaleBackend`. While `DesktopLocaleBackend`, `WebLocaleBackend` were identical, `NullLocaleBackend` always returned a fixed date/time for tests determinism. Unify them in a single file, and use `cfg!(test)` and a new dedicated `deterministic` feature to decide whether to mock date/time or not. This should not cause any behavioral changes. |
||
---|---|---|
.. | ||
tests | ||
Cargo.toml |