Skip to content

Commit 024c8d2

Browse files
committed
fix: Date format and feedback button style (#2213)
1 parent 5d273d0 commit 024c8d2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/src/main/java/org/fossasia/openevent/general/event/EventUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ object EventUtils {
5151
}
5252

5353
fun getFormattedDate(date: ZonedDateTime): String {
54-
val dateFormat: DateTimeFormatter = DateTimeFormatter.ofPattern("EEEE, MMM d, y")
54+
val dateFormat: DateTimeFormatter = DateTimeFormatter.ofPattern("EEEE, MMMM d, y")
5555
return try {
5656
dateFormat.format(date)
5757
} catch (e: IllegalArgumentException) {

app/src/main/res/layout/content_event.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,7 @@
557557

558558
<Button
559559
android:id="@+id/feedbackBtn"
560-
style="@style/ThreeDS2TextButtonStyle"
561-
android:textAllCaps="true"
560+
style="@style/Widget.MaterialComponents.Button.TextButton"
562561
android:layout_width="match_parent"
563562
android:layout_height="wrap_content"
564563
android:layout_marginTop="@dimen/layout_margin_medium"

0 commit comments

Comments
 (0)