Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unixtimeの引数にDateが受け付けない数値を入力するとMisskey外に配送できない #12378

Closed
syobocat opened this issue Nov 19, 2023 · 3 comments · Fixed by #12420
Labels
⚠️bug? This might be a bug

Comments

@syobocat
Copy link

💡 Summary

unixtimeにあまりにも大きい数値を入力すると、ISO 8601への変換に失敗しMisskeyでないインスタンスに配送されません。

参考: https://syo.bar/notice/AbxeQYdI6AKw9LRfdI

🥰 Expected Behavior

Misskey外に配送できる

🤬 Actual Behavior

Misskey外に配送されない

📝 Steps to Reproduce

$[unixtime 8640000000001]のように、極端に大きい数値をunixtimeの引数に入れる

💻 Frontend Environment

* Model and OS of the device(s):
* Browser:
* Server URL:
* Misskey:

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:
@syobocat syobocat added the ⚠️bug? This might be a bug label Nov 19, 2023
@syobocat
Copy link
Author

unixtimeの引数に数値でないものを入れた場合も同様のようです。

@kakkokari-gtyih
Copy link
Contributor

#12420 マージ後に対応予定(当該箇所周辺のコード構造を変更しているため)

@kakkokari-gtyih
Copy link
Contributor

何度もマージしてもらうの面倒だし #12420 で一括でやっちゃう

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants