Menu

#1 ISO 8601 times with no timezone shouldn't be valid

closed-fixed
Sam Ruby
None
5
2004-02-17
2004-01-29
No

According to http://www.w3.org/TR/NOTE-datetime, any
ISO 8601 stamp that specifies time must also specify
the timezone. The validator doesn't currently enforce
this; this patch changes the date regular expression to
require this, and includes failing and passing test cases.

Discussion

  • Joseph Walton

    Joseph Walton - 2004-01-29

    Patch to make date validation more strict

     
  • Sam Ruby

    Sam Ruby - 2004-02-17
    • status: open --> closed-fixed
     
  • Sam Ruby

    Sam Ruby - 2004-02-17
    • assigned_to: nobody --> rubys
     
  • Sam Ruby

    Sam Ruby - 2004-02-17

    Logged In: YES
    user_id=141556

    Patch applied - Thanks!

     

Log in to post a comment.