]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxtime.cpp
Create mechanism to handle packages for which we only know after parsing
[lyx.git] / src / support / lyxtime.cpp
index b24e19e91793f146fcfb55c9642d770de3dc884a..7f2530d41553b4b8649ac5920cf888307a60365d 100644 (file)
 
 #include "support/lyxtime.h"
 
-using std::string;
+using namespace std;
 
 namespace lyx {
 
-time_type current_time()
+time_t current_time()
 {
        return time(0);
 }
 
 
-string const formatted_time(time_type t, string const & fmt)
+string const formatted_time(time_t t, string const & fmt)
 {
        struct tm * loc_tm = localtime(&t);
        char date[50];