- Timestamp:
- Jun 8, 2009, 11:33:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/tools/qdatetime.cpp
r2 r24 2892 2892 return QDateTime(d, t); 2893 2893 #else 2894 #if defined(Q_OS_UNIX) 2894 #if defined(Q_OS_UNIX) || (defined(Q_OS_OS2) && defined(Q_CC_GNU)) 2895 2895 // posix compliant system 2896 2896 // we have milliseconds … … 2917 2917 tm *t = 0; 2918 2918 localtime(<ime); 2919 QDateTime dt; 2919 2920 dt.d->time.mds = MSECS_PER_HOUR * t->tm_hour + MSECS_PER_MIN * t->tm_min + 1000 * t->tm_sec; 2920 2921 #endif // Q_OS_UNIX
Note:
See TracChangeset
for help on using the changeset viewer.