1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef MBGL_UTIL_TIME #define MBGL_UTIL_TIME #include <string> #include <cstdint> #include <ctime> namespace mbgl { namespace util { // Returns the RFC1123 formatted date. E.g. "Tue, 04 Nov 2014 02:13:24 GMT" std::string rfc1123(std::time_t time); } } #endif