Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

年と月だけでメモを入力 #82

Open
suztomo opened this issue Jun 9, 2021 · 0 comments
Open

年と月だけでメモを入力 #82

suztomo opened this issue Jun 9, 2021 · 0 comments

Comments

@suztomo
Copy link
Owner

suztomo commented Jun 9, 2021

また、彼らの生涯での出来事を書く上で、年と月しか分からない事が多く、日が分からないせいで登録出来ない状態になっており、書くに書けない状態になっています。

6月5日のフィードバックフォームより抜粋

Firebaseに保存するデータ

おそらくFirebaseのデータ構造は問題ない。"yyyy-MM-dd"としている部分に"yyyy-MM-dd"を入れるだけ。

SQLiteに保存するデータ

今はデータがNote.toDate(note.date)で"yyyy-MM-dd"と保存されているvarcharなので型は問題なさそう。

NoteとNoteReplica

両方ともにDateTime型を使っているので日を指定しないことはできない。最初から自分のデータ型を作っておくべきだったか。

カレンダー

カレンダーに表示するには年・月・日のデータが必要。

カレンダーの下に表示するメモを無限スクロールにできれば解決するだろうか。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant