Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ class WeeklyCalendarWidgetProvider : AppWidgetProvider() {
calendar.firstDayOfWeek = Calendar.SUNDAY // 주의 시작을 일요일로 설정
calendar.set(Calendar.DAY_OF_WEEK, calendar.firstDayOfWeek)

// 월 이름을 영문 약어로 표시 (예: Jan, Feb)
val monthFormat = SimpleDateFormat("MMM", Locale.getDefault())
val monthName = monthFormat.format(calendar.time).uppercase(Locale.getDefault())
views.setTextViewText(R.id.text_month, monthName)

val dateFormat = SimpleDateFormat("dd", Locale.getDefault()) // 날짜만 표시 (예: 01, 15)

// 각 요일의 날짜를 TextView에 설정
Expand Down
Loading