mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
lint
This commit is contained in:
parent
f6bf8d1f81
commit
e781cd3466
1 changed files with 2 additions and 2 deletions
|
@ -277,8 +277,8 @@ export default defineNuxtComponent({
|
|||
const newMealdateString = computed(() => {
|
||||
// Format the date to YYYY-MM-DD in the same timezone as newMealdate
|
||||
const year = state.newMealdate.getFullYear();
|
||||
const month = String(state.newMealdate.getMonth() + 1).padStart(2, '0');
|
||||
const day = String(state.newMealdate.getDate()).padStart(2, '0');
|
||||
const month = String(state.newMealdate.getMonth() + 1).padStart(2, "0");
|
||||
const day = String(state.newMealdate.getDate()).padStart(2, "0");
|
||||
return `${year}-${month}-${day}`;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue