Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Bug: store_message writes invalid From lines with locales set
@ 2009-10-01 15:47 Gregor Hoffleit
  2009-10-01 16:38 ` William Morgan
  0 siblings, 1 reply; 3+ messages in thread
From: Gregor Hoffleit @ 2009-10-01 15:47 UTC (permalink / raw)


Obviously store_message uses the current locale settings to dump the
date into the From line (loader.rb, line 179):

      f.puts "From #{from_email} #{date.utc}"

The result: Using LANG=de_DE, sup crashed on me today when I had sent my
first mail of October. Problem was that sup failed to grok the localized
abbreviated month name ("Okt") in the From line:

    From gregor at hoffleit.de Do Okt 01 14:39:43 UTC 2009

which in turn was written by loader.rb (eat your own food, you know).

Everything worked fine for me in August and September, since those month
names are spelled the same in German and English ;-).


Regards,
    Gregor Hoffleit


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-02  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-01 15:47 [sup-talk] Bug: store_message writes invalid From lines with locales set Gregor Hoffleit
2009-10-01 16:38 ` William Morgan
2009-10-02  9:25   ` Gregor Hoffleit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox