Development

#1420 ([PATCH] sfException - Impossible to parse date "" with format "yyyy-MM-dd HH:mm:ss")

You must first sign up to be able to contribute.

Ticket #1420 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

[PATCH] sfException - Impossible to parse date "" with format "yyyy-MM-dd HH:mm:ss"

Reported by: skr68 Assigned to:
Priority: major Milestone: 1.0.0
Component: Version: 1.0.0-rc1
Keywords: Cc:
Qualification:

Description

If a Date-Column contains NULL, sfDateFormat->format(null, 'd', null, 'iso-8859-1') throws an Exception.

With this Patch the function returns null instead.

Attachments

ticket1420 (365 bytes) - added by skr68 on 02/05/07 14:46:33.

Change History

02/05/07 14:46:33 changed by skr68

  • attachment ticket1420 added.

02/05/07 14:47:18 changed by skr68

  • summary changed from [sfException] Impossible to parse date "" with format "yyyy-MM-dd HH:mm:ss" to [PATCH] sfException - Impossible to parse date "" with format "yyyy-MM-dd HH:mm:ss".

02/06/07 09:08:19 changed by fabien

  • milestone set to 1.0.0.

02/06/07 09:08:41 changed by fabien

  • status changed from new to closed.
  • resolution set to fixed.

(In [3409]) fixed sfException - Impossible to parse date "" with format "yyyy-MM-dd HH:mm:ss" (closes #1420 - patch from skr68)