[Haifux] Warning: bug 2009
Ori Idan
ori at helicontech.co.il
Wed Dec 31 17:26:22 MSK 2008
On Wed, Dec 31, 2008 at 12:29 PM, Dotan Cohen <dotancohen at gmail.com> wrote:
> 2008/12/31 ik <idokan at gmail.com>:
> > Hi,
> >
> > I had a very small and bad bug that I discovered today.
> >
> > I use strftime to format a date, and I accidentally used the %g option
> > rather then %y.
> > The difference is that %g is returning the year of the week (2009 this
> > week), while %y return the year of today (2008).
> >
> > So I wanted to warn everyone, so if you made the same mistake, you
> > could find it easily enough.
> >
> > Ido
> >
>
> Feature, not a bug!
>
Undesired feature...
>
> --
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
>
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
> ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي
> А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
> а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
> ä-ö-ü-ß-Ä-Ö-Ü
>
--
Ori Idan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://haifux.org/pipermail/haifux/attachments/20081231/cd853ec3/attachment.html
More information about the Haifux
mailing list