bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Datetime patch


From: Andrey Kulikov
Subject: Datetime patch
Date: Thu, 24 Jun 2004 14:32:46 +0400

Class Datetime ha constructor

Datetime(char *str, size_t size = 0);

And it's not possible to use it like this:

std::string dd = "00/00/00 00:00";
Datetime dt(dd.c_str());

Solution:
Declare it like this:
Datetime(const char *str, size_t size = 0);

Attached patch for date.cpp and numbers.h (from version 1.2.1) make it.



  

-- 
Best regards,
 Andrey                          mailto:address@hidden

Attachment: date.cpp.patch
Description: Binary data

Attachment: numbers.h.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]