mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 05:17:23 +09:00
Fix bug
This commit is contained in:
parent
8886a24f16
commit
2435139898
@ -48,7 +48,7 @@ export default class CoreModule implements IModule {
|
||||
const m = now.getMonth();
|
||||
const d = now.getDate();
|
||||
// Misskeyの誕生日は 2018-06-16 のような形式
|
||||
const today = `${zeroPadding(m + 1, 2)}-${d}`;
|
||||
const today = `${zeroPadding(m + 1, 2)}-${zeroPadding(d, 2)}`;
|
||||
|
||||
const birthFriends = this.ai.friends.find({
|
||||
'user.profile.birthday': { '$regex': new RegExp('-' + today + '$') }
|
||||
|
Loading…
x
Reference in New Issue
Block a user