General

Profile

felipec (Felipe Contreras)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 3 4

Activity

04/02/2023

06:51 AM Ruby Feature #8460: PATCH: optparse: add `keep_unknown` option
Updated on top of master yet again. felipec (Felipe Contreras)

05/27/2021

10:07 PM Ruby Feature #8460: PATCH: optparse: add `keep_unknown` option
Nobody had requested any tests. It would have been much easier if 7 years ago you had written the two lines of code required to test this.
Anyway, I've rebased my changes on top of the latest master, and added some tests.
felipec (Felipe Contreras)

05/04/2014

10:16 PM Ruby Feature #9794: DateTime.strptime() doesn't work correctly for '%s %z'
Well, I still don't understand what was discussed here, but it seems we have a fix (r45822).
Thanks for doing the sensible thing :)
felipec (Felipe Contreras)
09:03 AM Ruby Feature #9794: DateTime.strptime() doesn't work correctly for '%s %z'
Nobuyoshi Nakada wrote:
> It doesn't seem there is absolute reason that you have to use `Time.strptime`.
Why wouldn't I? It does **exactly** what I want:
Time.strptime('0 +0100', '%s %z').strftime('%s %z')
=> "0 +0100"
...
felipec (Felipe Contreras)
03:25 AM Ruby Feature #9794: DateTime.strptime() doesn't work correctly for '%s %z'
tadayoshi funaba wrote:
> /* Gr. strptime is crap for this; it doesn't have a way to require RFC2822
> ...
This has already been agreed: many options in strptime() are not portable, but that includes '%s' as well.
felipec (Felipe Contreras)

05/03/2014

09:32 PM Ruby Feature #9794: DateTime.strptime() doesn't work correctly for '%s %z'
It don't understand the details of the discussion, but it seems to me Tadayoshi is arguing that dates cannot be represented correctly in "%s %z".
If that was the case why did Git chose it as the format to store dates? Shouldn't Git be...
felipec (Felipe Contreras)
09:11 AM Ruby Feature #9794: DateTime.strptime() doesn't work correctly for '%s %z'
At some point it would be nice to have something in English so that the international community can comment on that. felipec (Felipe Contreras)
03:42 AM Ruby Feature #9794: DateTime.strptime() doesn't work correctly for '%s %z'
Ryan Davis wrote:
> I'd like to see this escalated to a neutral 3rd party (matz? ko1?) that can evaluate Charlie's code and weigh it against tadf's Japanese argument. Regardless of any final outcome, adding an English explanation would ...
felipec (Felipe Contreras)

05/02/2014

08:32 PM Ruby Feature #9794: DateTime.strptime() doesn't work correctly for '%s %z'
English. This is an international project, isn't it?
Time.strptime('2001 -0900', '%Y %z')
This is clearly a red herring. If you want to fix '%Y %z', go ahead, that's no reason not to fix '%s %z'.
felipec (Felipe Contreras)
11:14 AM Ruby Feature #9794: DateTime.strptime() doesn't work correctly for '%s %z'
Tadayoshi you are so fucking ridiculous it's not even funny.
You reject a perfectly sensible patch that **EVERYBODY** agrees with for NO REASON AT ALL WHATSOEVER? At the very list give a reason.
I'm amazed that anybody would make y...
felipec (Felipe Contreras)

Also available in: Atom