- Fix CImgTitle positioning

- CPreloadImage
This commit is contained in:
Paolo Arena
2019-09-19 22:56:19 +02:00
parent 04f4a83d6c
commit 3459f00a3b
18 changed files with 208 additions and 86 deletions

View File

@@ -22,20 +22,27 @@ export const func_tools = {
},
getDateStr(mydate) {
if (costanti_tools.DateFormatter) {
const DateFormatter = new Intl.DateTimeFormat(func_tools.getLocale() || void 0, {
weekday: 'long',
day: 'numeric',
month: 'long',
year: 'numeric'
// timeZone: 'UTC'
})
if (DateFormatter) {
const date = new Date(mydate)
return costanti_tools.DateFormatter.format(date)
return DateFormatter.format(date)
}
return mydate
}
}
export const costanti_tools = {
DateFormatter: new Intl.DateTimeFormat(func_tools.getLocale() || void 0, {
weekday: 'long',
day: 'numeric',
month: 'long',
year: 'numeric'
// timeZone: 'UTC'
})
}
// export const costanti_tools = {
// DateFormatter: new Intl.DateTimeFormat(func_tools.getLocale() || void 0, {
// weekday: 'long',
// day: 'numeric',
// month: 'long',
// year: 'numeric'
// // timeZone: 'UTC'
// })
// }