Non FFI version of purescript-datetime
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 24/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- backend
調査の方向性
The issue proposes replacing JavaScript FFI date handling with a fully pure PureScript implementation and points to the existing createDate snippet, the ECMAScript Date specification, and Haskell's Data.Time as references. Start by reading the current date implementation and the linked specification to determine the scope and behavior to reproduce. Done would mean agreeing on and implementing a complete pure replacement; the issue does not identify tests or a narrower target.
索引モデルが issue の本文から書いたものです。
説明
After a brief chat with @garyb here, it was mentioned that ideally purescript-datetime could actually be 100% pure Purescript.
Would the idea be to reproduce these specs here?
As a starting point I assume I'd need to replace:
var createDate = function (y, m, d) {
var date = new Date(Date.UTC(y, m, d));
if (y >= 0 && y < 100) {
date.setUTCFullYear(y);
}
return date;
};
So there would be no leaning on the use of JS's implementation?
This is assuming I'm not barking up the wrong tree, if that is the case what might one need to look at?
edit: I'm also looking at Haskell's Date.Time for guidance.
- 主要言語
- PureScript
- スター
- 51
- フォーク
- 48
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
purescript/purescript-datetime のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
purescript/purescript-datetime#102 · コメント 5 件 ·
-
Add constructors for Date / Time components using type-level integers再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
purescript/purescript-datetime#96 · コメント 1 件 ·
-
type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
purescript/purescript-datetime#92 · コメント 1 件 ·
-
status: needs more info
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
purescript/purescript-datetime#90 · リアクション 3 件 ·
-
status: needs more info
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
purescript/purescript-datetime の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
milind-soni/OpenMausBot#5829 ·
メンテナーはふだん 1 日以内に返信