-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(std/datetime): uppercase hour symbols #7107
Conversation
Based on what? in https://en.wikipedia.org/wiki/ISO_8601 hh is 24 hour format. |
Yes, but based on http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table, the upper/lowercase convention is widely adopted in many different languages like swift and java. The formatter doesn't use ISO8601 symbols, because the ISO symbols are very limiting (for example: formatter has This allows deno to extend the formatter if needed without having breaking changes. |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
All benchmarks are done in Rust and can be invoked with `cargo bench`. Currently this has it's own "harness" that behaves like `./tools/benchmark.py` did. Because of this tests inside `cli/bench` are currently not run. This should be switched to the language provided harness once the `#[bench]` attribute has been stabilized.
This removes the dependency on global state and instead relies on the runtime's internal state to get the script sources it saw when it collected code coverage for them.
This commit adds support for stack traces in "deno_core". Implementation of "Display" trait for "JsError" has been updated and in consequence "deno_core::js_check" became obsolete and removed.
This encloses symbol keys when used in objects with brackets (e.g [Symbol("Symbol.iterator")]).
This quotes and escapes symbol descriptions that contains characters outside of the basic alpha-numeric identifier range.
…en/deno into fix-parser-symbol-names
close on favor of #7661 |
Fix wrong symbol casing.
replace
h
andhh
withH
andHH
respectively.Lowercase is reserved for 12 hour days, uppercase for 24 hour days.