Skip to content

Commit

Permalink
Set weektime component to start on Monday
Browse files Browse the repository at this point in the history
  • Loading branch information
shungenie committed May 28, 2024
1 parent f5257f8 commit daf11a8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Sun
Mon
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -211,7 +211,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Mon
Tue
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -288,7 +288,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Tue
Wed
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -365,7 +365,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Wed
Thu
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -442,7 +442,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Thu
Fri
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -519,7 +519,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Fri
Sat
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down Expand Up @@ -596,7 +596,7 @@ exports[`WeekTime component testing WeekTime 1`] = `
<div
class="sc-hKMtZM sc-eCYdqJ ijKKtp gsFxfl"
>
Sat
Sun
</div>
<span
class="sc-gsnTZi iQtOmt"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Sun
Mon
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -211,7 +211,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Mon
Tue
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -288,7 +288,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Tue
Wed
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -365,7 +365,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Wed
Thu
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -442,7 +442,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Thu
Fri
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -519,7 +519,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Fri
Sat
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down Expand Up @@ -596,7 +596,7 @@ exports[`WeekTimeSelector component testing WeekTimeSelector 1`] = `
<div
class="sc-iBkjds sc-ftvSup ddDNOR fStWin"
>
Sat
Sun
</div>
<button
class="sc-gsnTZi ipHfAH"
Expand Down
8 changes: 4 additions & 4 deletions src/constants/locale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ export const jaJP: Localization = {
},
WeekTime: {
defaultProps: {
weekList: ["日", "月", "火", "水", "木", "金", "土"],
weekList: ["月", "火", "水", "木", "金", "土", "日"],
},
},
WeekTimeSelector: {
defaultProps: {
weekList: ["日", "月", "火", "水", "木", "金", "土"],
weekList: ["月", "火", "水", "木", "金", "土", "日"],
},
},
DualListBox: {
Expand Down Expand Up @@ -202,12 +202,12 @@ export const enUS: Localization = {
},
WeekTime: {
defaultProps: {
weekList: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
weekList: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
},
},
WeekTimeSelector: {
defaultProps: {
weekList: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
weekList: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
},
},
DualListBox: {
Expand Down

0 comments on commit daf11a8

Please sign in to comment.