Doctrine 1
  1. Doctrine 1
  2. DC-763

Timestamp validation does not fail, when missing time in value

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: Validators
    • Labels:
      None
    • Environment:
      php 5.2.6 + mysql 5.0

      Description

      Doctrine_Validator_Timestamp does not validate correctly, when missing time information in value!

      2009-01-20 -> validator returns true, should be false because of the missing time

      1. DC763TestCase.php
        2 kB
        Steffen Zeidler
      2. Timestamp.patch
        0.5 kB
        Steffen Zeidler

        Activity

        Hide
        Steffen Zeidler added a comment -

        patch & test

        Show
        Steffen Zeidler added a comment - patch & test

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Steffen Zeidler
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: