20 lines
267 B
C++
20 lines
267 B
C++
#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
|