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

Date:year系の関数に0を渡すと現在時刻になる問題を修正 #645

Merged
merged 3 commits into from
May 4, 2024

Conversation

salano-ym
Copy link
Member

What

  • ||の左辺に0を渡すと右辺を返してしまうので??に変更します。
  • Date:year系関数のテストを追加します(引数省略時のテストは割愛)

Why

close #644

Additional info (optional)

salano-ym added 3 commits May 3, 2024 07:40
- Date:year
- Date:month
- Date:day
- Date:hour
- Date:minute
- Date:second
- Date:millisecond
@salano-ym salano-ym merged commit fb6101f into aiscript-dev:master May 4, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nullチェックを意図している所でfalsyな非null値も弾かれている
3 participants