Opened 10 years ago
Last modified 10 years ago
#7022 closed Bugs
Prevent tool Bug Fix. — at Initial Version
| Reported by: | Owned by: | az_sw_dude | |
|---|---|---|---|
| Milestone: | Boost 1.52.0 | Component: | date_time | 
| Version: | Boost 1.50.0 | Severity: | Problem | 
| Keywords: | Cc: | yogen.saini@… | 
Description
It is Prevent tool Bug Fix.In file boost/trunk/libs/date_time/src/gregorian/date_generators.cpp
the IF condition:
if(ele >= 1 ele <= 5) { return _nth_as_str[ele]; }
else {
return _nth_as_str[0]; }
| " in this if condition it should be "&&". Only by use of "&&" this condition makes sense. | 
  Note:
 See   TracTickets
 for help on using tickets.
    

Fix for the reported Bug.