facebook / facebook/hermes

Using Intl with standalone Hermes app

Open
#1,350 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11.3k
Forks
859
Avg merge
1h 30m
Merged PRs (30d)
3

Description

👋 I've been experimenting running JS using Hermes as a standalone binary in Linux and wanted to use `Intl.DateTimeFormat`, but looks like `Intl` support is tied to Android/iOS runtimes.

Is there any way to use `Intl` in a Linux runtime without having to use polyfills?

I created this simple gist to reproduce the current `Intl` behavior https://gist.github.com/manuelpuyol/dbb1e41c748dbaf80da3ca3556648611

Contributor guide

Open the contributing guide

Research direction

Start by running the standalone Hermes Linux binary with the linked gist to reproduce the current Intl.DateTimeFormat behavior. Investigate how Intl support is tied to the Android and iOS runtimes; the issue is complete only when the project defines whether and how Intl can work in a Linux runtime without polyfills.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.