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

Add month and date at sharing text. #904

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

sadashi-ota
Copy link
Contributor

Issue

Overview (Required)

  • Add month and date at sharing text.

Links

Screenshot (Optional if screenshot test is present or unrelated to UI)

Before After

Movie (Optional)

Before After

Comment on lines +97 to +98
val localDate = startsAt.toLocalDateTime(TimeZone.currentSystemDefault())
"${localDate.monthNumber}".padStart(2, '0') + "/" + "${localDate.dayOfMonth}".padStart(2, '0')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


Would it be better to use val day: DroidKaigi2024Day? ? 🤔
I avoided it because it was Nullable, but I feel like it would be okay to just leave it empty when it's null.

@github-actions github-actions bot temporarily deployed to deploygate-distribution September 1, 2024 05:03 Inactive
Copy link
Member

@takahirom takahirom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thank you for considering the structure of the model and fixing it.

@takahirom takahirom merged commit ac68d35 into DroidKaigi:main Sep 1, 2024
6 checks passed
@sadashi-ota sadashi-ota deleted the feature/sharing_date branch September 1, 2024 09:20
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

Successfully merging this pull request may close these issues.

Maybe we should share the date with the session sharing
2 participants