X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Flyxtime.h;h=74586cf7de947264ed07a2beb7cc57486c6bfe5a;hb=329eae5605d7bc40a53ebafa817470d9739ff632;hp=6a8bd27682252bf0340ffc07dc926a66939d7463;hpb=5179e2f4d846a2bfd4dbb3f3c8e832d345028244;p=lyx.git diff --git a/src/support/lyxtime.h b/src/support/lyxtime.h index 6a8bd27682..74586cf7de 100644 --- a/src/support/lyxtime.h +++ b/src/support/lyxtime.h @@ -18,6 +18,7 @@ namespace lyx { +namespace support { time_t current_time(); @@ -27,6 +28,12 @@ time_t current_time(); */ std::string const formatted_time(time_t t, std::string const & fmt); +/** + * Inverse of asctime(gmtime()). + */ +time_t from_asctime_utc(std::string t); + +} // namespace support } // namespace lyx #endif // LYXTIME_H