Changeset 12236

Show
Ignore:
Timestamp:
01/31/08 21:00:36 (11 months ago)
Author:
peller
Message:

Fix regression from [12198] - must convert hours to a number for comparison. Refs #5716

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojo/trunk/date/locale.js

    r12203 r12236  
    419419        }); 
    420420 
    421         var hours = result[3]; 
     421        var hours = result[3]*1; 
    422422        if(amPm === 'p' && hours < 12){ 
    423423                result[3] = hours + 12; //e.g., 3pm -> 15