Menu

#75 [Python] CUBRIDdb.Time method can create wrong time

open
nobody
None
5
2012-02-03
2012-02-03
Jira Trac
No

# Brief:
## Use CUBRIDdb.Time(24,59,59) to generate date '24:59:59', but it is meaningless. The time max should be '23:59:59'
# Test Step:
## Use CUBRIDdb.Time(24,59,59) to generate a time
# Result:
## can generate time'2012-12-30'
# Code Reference:
{noformat}
import CUBRIDdb
def test_cubrid_time():
time = CUBRIDdb.Time(24,59,59)
print time
if __name__ == '__main__':
test_cubrid_time()
{noformat}

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.