php / php/php-src

date_sun_info restore ability to supply custom zenith value

オープン
#13,067 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

@derickr がすでに取り組んでいます。

2024年1月3日 から。

Extension: date Feature Status: Verified
主要言語
C
スター
40.4k
フォーク
8.1k
平均マージ
2日 13時間
マージ済み PR(30日)
96

説明

Description

The old functions (date_sunrise and date_sunset, now marked as deprecated) had the option to use a custom zenith. The ability has been lost in the replacement date_sun_info function, only supporting a few, standard, fixed values.

While the supplied standards are useful, it stills has purpose to be able to set a custom value for the zenith, as before.

Could this be added as an optional parameter and return an additional pair of keys in the returned array?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。