@@ -19,7 +19,7 @@
:data-today="isToday(i + 1)"
:data-selected="isSelected(i + 1)"
:data-is-out-of-range="isOutOfRange(i + 1)"
- :data-is-donichi="isDonichi(i + 1)"
+ :data-is-weekend="isWeekend(i + 1)"
@click="go(i + 1)"
:title="isOutOfRange(i + 1) ? null : $t('go')"
>
@@ -96,7 +96,7 @@ export default Vue.extend({
(this.start ? test < (this.start as any).getTime() : false);
},
- isDonichi(day) {
+ isWeekend(day) {
const weekday = (new Date(this.year, this.month - 1, day)).getDay();
return weekday == 0 || weekday == 6;
},
@@ -199,14 +199,14 @@ export default Vue.extend({
&.weekday
color var(--calendarWeek)
- &[data-is-donichi]
+ &[data-is-weekend]
color var(--calendarSaturdayOrSunday)
&[data-today]
box-shadow 0 0 0 var(--lineWidth) var(--calendarWeek) inset
border-radius 6px
- &[data-is-donichi]
+ &[data-is-weekend]
box-shadow 0 0 0 var(--lineWidth) var(--calendarSaturdayOrSunday) inset
&.day
@@ -222,7 +222,7 @@ export default Vue.extend({
&:active > div
background var(--faceClearButtonActive)
- &[data-is-donichi]
+ &[data-is-weekend]
color var(--calendarSaturdayOrSunday)
&[data-is-out-of-range]
diff --git a/src/db/postgre.ts b/src/db/postgre.ts
index 8e2d585e9..f0f1e7eec 100644
--- a/src/db/postgre.ts
+++ b/src/db/postgre.ts
@@ -102,7 +102,7 @@ export function initDb(justBorrow = false, sync = false, log = false) {
host: config.redis.host,
port: config.redis.port,
options:{
- auth_pass: config.redis.pass,
+ password: config.redis.pass,
prefix: config.redis.prefix,
db: config.redis.db || 0
}
diff --git a/src/db/redis.ts b/src/db/redis.ts
index 6518cb005..41d030149 100644
--- a/src/db/redis.ts
+++ b/src/db/redis.ts
@@ -5,7 +5,7 @@ export default redis.createClient(
config.redis.port,
config.redis.host,
{
- auth_pass: config.redis.pass,
+ password: config.redis.pass,
prefix: config.redis.prefix,
db: config.redis.db || 0
}