All of the broken legacy things work.
This commit is contained in:
14
logic/minecraft/ParseUtils.h
Normal file
14
logic/minecraft/ParseUtils.h
Normal file
@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include <QString>
|
||||
#include <QDateTime>
|
||||
|
||||
/**
|
||||
* parse the S3 timestamp in 'raw' and fill the forwarded variables.
|
||||
* return true/false for success/failure
|
||||
*/
|
||||
void 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);
|
Reference in New Issue
Block a user