jhaagmans (Jaap Haagmans)
- Login: jhaagmans
- Email: jaap.haagmans@gmail.com
- Registered on: 03/03/2011
- Last sign in: 09/22/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
03/03/2011
-
01:11 AM Ruby Bug #4460: Date.commercial date calculations don't match strftime output
- =begin
Hmm the pieces of code got printed on one line, I'll try again.
* The today example:
Date.today.strftime('%W') => "09"
Date.commercial(2011,9,1) => Mon, 28 Feb 2011
Date.today.at_beginning_of_week => Mon, 28 Feb 2011
*The 2 y... -
01:09 AM Ruby Bug #4460 (Rejected): Date.commercial date calculations don't match strftime output
- =begin
When retrieving the date for a week number using Date.commercial, the output sometimes differs from what you expect when looking at strftime. In my opinion, the following should always be true:
(({Date.commercial(year, week, d...