Twitter hashtag: #esspec
便利ツール
時事ネタ
パネルディスカッションあるの新しい。AIエージェントに話させたいyebis0942.icon
自己紹介 (近況報告)
syumai syumai.icon
TSを書いて暮らしてます
体調を崩してます
だいぶマシになりました
iwatsurut
とくに、イベントもなく過ごしています。
さむい!!!
igrep(山本悠滋)
Python 3.11 アップグレード終わった
maru。(まる)
主にTSで仕事してます。React, Node。
3週間ぶりに東京帰ってきたら情報量多いのかなんか疲れました
yebis0942.icon よろしくお願いします!
yebis0942(えびす)yebis0942.icon
Go, Reactを書いています
1年半ぶりの参加です
最近Intl.DateTimeFormatに入門しました
year, month, dayのオプションが独立してないことに衝撃を受けた
自立型コーディングエージェントでブラウザを書かせた話がすごい
前回のあらすじ
今回のメモ
21.4.1.32 Date Time String Format から
Proleptic Gregorian calendar
先発グレゴリオ暦
code:js
(new Date()).toISOString()
'2026-01-20T10:59:16.487Z'
(new Date(270000, 0, 1)).toISOString()
'+269999-12-31T15:00:00.000Z'
(new Date(10000, 0, 1)).toISOString()
'9999-12-31T15:00:00.000Z'
(new Date(10000, 0, 1, 9)).toISOString()
'+010000-01-01T00:00:00.000Z'
code:js
(new Date("2000T10:00")).toISOString()
"2000-01-01T01:00:00.000Z"
24時という表記について
ESSpec
This interpretation of the latter form as "end of a calendar day" is consistent with ISO 8601, even though that specification reserves it for describing time intervals and does not permit it within representations of single points in time.
ISO 8601一般に許されるのが2022年に出た?→ というより再導入された
An amendment to ISO 8601-1 was published in October 2022 featuring minor technical clarifications and attempts to remove ambiguities in definitions. The most significant change, however, was the reintroduction of the "24:00:00" format to refer to the instant at the end of a calendar day.
::: The Numeric String Grammar
ソースコードに直接出てくるものではなく、何かしらのAbstract Operationによって解釈される文字列
:
Productions of the syntactiggrammar are distinguished by having just one colon It" as punctuation.
goal symbol
parseの対象にしたいもの
最終的にスクリプトとして扱いたい場合は、スクリプトがgoal symbol。