mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
15 lines
366 B
C
15 lines
366 B
C
#pragma once
|
|
#include <QString>
|
|
#include <QDateTime>
|
|
|
|
/**
|
|
* parse the S3 timestamp in 'raw' and fill the forwarded variables.
|
|
* return true/false for success/failure
|
|
*/
|
|
bool parse_timestamp (const QString &raw, QString &save_here, QDateTime &parse_here);
|
|
|
|
/**
|
|
* take the timestamp used by S3 and turn it into QDateTime
|
|
*/
|
|
QDateTime timeFromS3Time(QString str);
|