mastodon.zunda.ninja is one of the many independent Mastodon servers you can use to participate in the fediverse.
Zundon is a single user instance as home of @zundan as well as a test bed for changes of the code.

Administered by:

Server stats:

1
active users

zunda

Ruby、2023年のうるう日を作ってたのはお前だったのか… (ruby-jp Slackで見かけました。nobuさんによる修正: https://github.com/ruby/ruby/pull/5041

$ for v in 3.1.4 3.2.2 3.3.0; do RBENV_VERSION=$v TZ=Japan faketime '2024-02-29 08:00 JST' ruby -ve 'p Time.new(2023, 3, 1, 0, 0, 0, 0) - 1'; done
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]
2023-02-29 23:59:59 +0000
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
2023-02-28 23:59:59 +0000
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
2023-02-28 23:59:59 +0000

GitHubFix leap day with UTC offset [Bug #18274] by nobu · Pull Request #5041 · ruby/rubyBy nobu