modify upercase 1st letter of the day in dayofweek
This commit is contained in:
parent
3b9d50417d
commit
c73ad5899b
@ -142,7 +142,7 @@ Wwws.getwco = (wconame, ctx) => {
|
|||||||
//tagid can concern many id then tagid=idA,idB,idC
|
//tagid can concern many id then tagid=idA,idB,idC
|
||||||
ctx.tagid = ctx.tagid.includes(",") ? ctx.tagid.split(",") : [ctx.tagid];
|
ctx.tagid = ctx.tagid.includes(",") ? ctx.tagid.split(",") : [ctx.tagid];
|
||||||
ctx.tagid.forEach((tid) => {
|
ctx.tagid.forEach((tid) => {
|
||||||
const pathtpldata = `${ctx.tribe}/objects/wwws/${ctx.xapp}/src/tpldata/${ctx.pagename}/${tid}_${t}`;
|
const pathtpldata = `${ctx.tribe}/objects/wwws/${ctx.xapp}/src/tpldata/${ctx.pagename}_${tid}_${t}`;
|
||||||
console.log("pathtpldata:", pathtpldata);
|
console.log("pathtpldata:", pathtpldata);
|
||||||
const localdbname = `${ctx.pagename}_${tid}_${t}`;
|
const localdbname = `${ctx.pagename}_${tid}_${t}`;
|
||||||
if (
|
if (
|
||||||
|
@ -3,27 +3,27 @@
|
|||||||
"description": "Country Code and Info",
|
"description": "Country Code and Info",
|
||||||
"commment": "Alpha-2 country code (ISO 3166-2:XX)",
|
"commment": "Alpha-2 country code (ISO 3166-2:XX)",
|
||||||
"lastupdatedata": "",
|
"lastupdatedata": "",
|
||||||
"lst_idx": ["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],
|
"lst_idx": ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
|
||||||
"itms": {
|
"itms": {
|
||||||
"monday": {
|
"Monday": {
|
||||||
"title": "Monday"
|
"title": "Monday"
|
||||||
},
|
},
|
||||||
"tuesday": {
|
"Tuesday": {
|
||||||
"title": "Tuesday"
|
"title": "Tuesday"
|
||||||
},
|
},
|
||||||
"wednesday": {
|
"Wednesday": {
|
||||||
"title": "Wednesday"
|
"title": "Wednesday"
|
||||||
},
|
},
|
||||||
"thursday": {
|
"Thursday": {
|
||||||
"title": "Thursday"
|
"title": "Thursday"
|
||||||
},
|
},
|
||||||
"friday": {
|
"Friday": {
|
||||||
"title": "Friday"
|
"title": "Friday"
|
||||||
},
|
},
|
||||||
"saturday": {
|
"Saturday": {
|
||||||
"title": "Saturday"
|
"title": "Saturday"
|
||||||
},
|
},
|
||||||
"sunday": {
|
"Sunday": {
|
||||||
"title": "Sunday"
|
"title": "Sunday"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,27 +3,27 @@
|
|||||||
"description": "Country Code and Info",
|
"description": "Country Code and Info",
|
||||||
"commment": "Alpha-2 country code (ISO 3166-2:XX)",
|
"commment": "Alpha-2 country code (ISO 3166-2:XX)",
|
||||||
"lastupdatedata": "",
|
"lastupdatedata": "",
|
||||||
"lst_idx": ["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],
|
"lst_idx": ["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],
|
||||||
"itms": {
|
"itms": {
|
||||||
"monday": {
|
"Monday": {
|
||||||
"title": "Lundi"
|
"title": "Lundi"
|
||||||
},
|
},
|
||||||
"tuesady": {
|
"Tuesady": {
|
||||||
"title": "Mardi"
|
"title": "Mardi"
|
||||||
},
|
},
|
||||||
"wednesday": {
|
"Wednesday": {
|
||||||
"title": "Mercredi"
|
"title": "Mercredi"
|
||||||
},
|
},
|
||||||
"thursday": {
|
"Thursday": {
|
||||||
"title": "Jeudi"
|
"title": "Jeudi"
|
||||||
},
|
},
|
||||||
"friday": {
|
"Friday": {
|
||||||
"title": "Vendredi"
|
"title": "Vendredi"
|
||||||
},
|
},
|
||||||
"saturday": {
|
"Saturday": {
|
||||||
"title": "Samedi"
|
"title": "Samedi"
|
||||||
},
|
},
|
||||||
"sunday": {
|
"Sunday": {
|
||||||
"title": "Dimanche"
|
"title": "Dimanche"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user