github / github/relative-time-element
Precision for what to display
- 主要言語
- JavaScript
- スター
- 4k
- フォーク
- 192
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 5
説明
Hello,
I would like to display some dates relatively to now. However, I want to display it at max days, no weeks, months, years, etc. Is this somehow possible? I only found the precision which works vice versa.
I think it is possible as the docs/cheatsheets in the readme show some things like "in 30 day" but for me this only gives things like "next week" or "next month".
Codepen: https://codepen.io/wulfheart/pen/oNPxVKK
```html
2023-02-28
```
Thank you in advance.
コントリビューションガイド
調査の方向性
リンクされた CodePen の要求された動作を、示されている マークアップを使って再現し、その後、コンポーネントの relative-format と precision のドキュメントを読んでください。最大表示を日数のみで指定する方法を確認し、その範囲を超える日付も引き続き日数で表現されることを検証してください。この issue では、実行するソースファイルやテストは指定されていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- frontend, web-dev
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100