christopherdro/react-native-calendar

Inconsistency in passing value to callbacks

オープン

#54 opened on 2016/07/19

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (234 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (536 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

I spotted inconsistency in callback values. Namely these: onSwipePrep and onSwipeNext receive moment instance. onDateSelected receives date in plain string format.

Unifying this issue is essentially a breaking change, but it would be nice to be consistent.

コントリビューターガイド