X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Flyxtime.h;h=74586cf7de947264ed07a2beb7cc57486c6bfe5a;hb=faa87bf9f30b943397429a04254d96963bbf38bc;hp=620965aebc46ceb9d484275e385c363aa3985348;hpb=0dee3eff18078be7b931a3a409197f3f4dcc43b4;p=lyx.git diff --git a/src/support/lyxtime.h b/src/support/lyxtime.h index 620965aebc..74586cf7de 100644 --- a/src/support/lyxtime.h +++ b/src/support/lyxtime.h @@ -29,12 +29,9 @@ time_t current_time(); std::string const formatted_time(time_t t, std::string const & fmt); /** - * Inverse of ctime(). - * Since ctime() outputs the local time, the caller needs to ensure that the - * time zone and daylight saving time are the same as when \p t was created - * by ctime(). + * Inverse of asctime(gmtime()). */ -time_t from_ctime(std::string t); +time_t from_asctime_utc(std::string t); } // namespace support } // namespace lyx