Conversation
DateTime.nowDateTime.now
DateTime.nowDateTime.now
|
Thanks! fa5dfd5 added |
|
I believe this is just a timezone conversion away from what we have in main. The part about replacing DateTime.now with the ZulipBinding equivalent is a nice follow-up we mentioned in 0c03009. |
|
So it is something we want, separately from |
I wasn't aware that this function had been added. |
DateTime.nowThanks Komyyy for this idea, which I took from PR zulip#1363. Co-authored-by: Komyyy <pol_tta@outlook.jp>
Thanks Komyyy for this idea, which I took from PR zulip#1363. Co-authored-by: Komyyy <pol_tta@outlook.jp>
Thanks Komyyy for this idea, which I took from PR zulip#1363. Co-authored-by: Komyyy <pol_tta@outlook.jp>
Thanks Komyyy for this idea, which I took from PR zulip#1363. Co-authored-by: Komyyy <pol_tta@outlook.jp>
Thanks Komyyy for this idea, which I took from PR zulip#1363. Co-authored-by: Komyyy <pol_tta@outlook.jp>
This PR replaces
DateTime.nowwithZulipBinding.utcNow.Also, this PR reduces some redundant arguments for current time; these arguments are not needed because we can use
withClockfor testing.