Revert "date: Replace U+2009 THIN SPACE in formatted dates with U+0020 SPACE"

This reverts commit 57fc066e68f55ef408ee91d2023380fd49f2dec3.

Reason for revert: Suspected to break date-sensitive browser tests
in roll:
https://ci.chromium.org/ui/p/chromium/builders/try/linux-rel/2598830/overview

Original change's description:
> date: Replace U+2009 THIN SPACE in formatted dates with U+0020 SPACE
>
> Recent ICU updates introduced non-ASCII space characters in formatted
> date/time strings. This can cause compatibility problems for systems
> that parse or display this output and expect standard ASCII spaces.
>
> To ensure broader compatibility, this change replaces these newer
> Unicode spaces with the ASCII space character (U+0020), an approach also
> taken by Firefox [1].
>
> This CL addresses two recent changes in ICU:
> * ICU 78 began using U+2009 in date/time format for "zh" locales.
> * ICU 72 began using U+2009 in date/time ranges format for "en" locales.
>
> This change builds upon a previous fix for U+202F (NARROW NO-BREAK
> SPACE). The `Replace202F` function is renamed to `ReplaceUnicodeSpaces`
> and is updated to replace both U+2009 and U+202F.
>
> [1]
> https://github.com/mozilla-firefox/firefox/blob/main/intl/components/src/DateTimeFormat.h#L39
>
> Bug: 473861785
> Change-Id: I72e0cce5e6e72917d874d59c43d7768a6f1c86b5
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7652321
> Commit-Queue: Marja Hölttä <marja@chromium.org>
> Auto-Submit: Kent Tamura <tkent@chromium.org>
> Reviewed-by: Frank Tang <ftang@chromium.org>
> Reviewed-by: Marja Hölttä <marja@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#105796}

Bug: 473861785
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Change-Id: Ica10501f05e11ab9eaa5d497808371cdd4a2cdd3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7669037
Auto-Submit: Michael Achenbach <machenbach@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#105799}
4 files changed
tree: 51b8d77f4be998a3fee0db48b7cf49841cfaddb7
  1. .github/
  2. bazel/
  3. build_overrides/
  4. custom_deps/
  5. docs/
  6. gni/
  7. include/
  8. infra/
  9. samples/
  10. src/
  11. test/
  12. testing/
  13. third_party/
  14. tools/
  15. .bazelrc
  16. .clang-format
  17. .clang-tidy
  18. .editorconfig
  19. .flake8
  20. .git-blame-ignore-revs
  21. .gitattributes
  22. .gitignore
  23. .gn
  24. .mailmap
  25. .style.yapf
  26. .vpython3
  27. .ycm_extra_conf.py
  28. AUTHORS
  29. BUILD.bazel
  30. BUILD.gn
  31. CODE_OF_CONDUCT.md
  32. codereview.settings
  33. COMMON_OWNERS
  34. DEPS
  35. DIR_METADATA
  36. ENG_REVIEW_OWNERS
  37. GEMINI.md
  38. INFRA_OWNERS
  39. INTL_OWNERS
  40. LICENSE
  41. LICENSE.fdlibm
  42. LICENSE.strongtalk
  43. LICENSE.v8
  44. LOONG_OWNERS
  45. MIPS_OWNERS
  46. MODULE.bazel
  47. OWNERS
  48. PPC_OWNERS
  49. PRESUBMIT.py
  50. pyrightconfig.json
  51. README.md
  52. RISCV_OWNERS
  53. S390_OWNERS
  54. WATCHLISTS
README.md

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Chromium, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://v8.dev/docs

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned at v8.dev/docs/contribute.