Bug 1029729 - Valid dates are being marked as invalid
Summary: Valid dates are being marked as invalid
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: PressGang CCMS
Classification: Community
Component: DocBook-builder
Version: 1.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lee Newson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-13 02:50 UTC by Lee Newson
Modified: 2013-11-13 02:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-13 02:58:40 UTC


Attachments (Terms of Use)

Description Lee Newson 2013-11-13 02:50:15 UTC
The date "Thursday July 18 2013" is being marked as invalid when it is actually a valid date.

Comment 1 Lee Newson 2013-11-13 02:58:40 UTC
Fixed in csprocessor 1.2.3

The cause of this was the cleanDate() function which was used to clean days such as "Thurs", "Thur" and "Tues", so that they would be valid for our validator. However this was working on "Thursday" and "Tuesday", reducing them down to "Thuday" and "Tueday" respectively.


Note You need to log in before you can comment on or make changes to this bug.