Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
use relative timestamps, renamed files.hpp to fs.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
HookedBehemoth committed Aug 13, 2019
1 parent 9e32657 commit d87fd33
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 118 deletions.
18 changes: 0 additions & 18 deletions include/files.hpp

This file was deleted.

1 change: 1 addition & 0 deletions include/ui/DetailLayout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <pu/Plutonium>
#include "web.hpp"
#include "utl.hpp"
using namespace pu::ui::elm;
namespace ui {
class DetailLayout : public pu::ui::Layout {
Expand Down
2 changes: 1 addition & 1 deletion include/web.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <Swurl.hpp>
#include <vector>
#include <switch.h>
#include "files.hpp"
#include "fs.hpp"
#include "rapidjson/rapidjson.h"
#include "rapidjson/document.h"
#include "rapidjson/stringbuffer.h"
Expand Down
98 changes: 0 additions & 98 deletions source/files.cpp

This file was deleted.

3 changes: 2 additions & 1 deletion source/ui/DetailLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ namespace ui {
}
printf("setting misc...\n");
this->pages->SetText(std::to_string(comic.pages) + " pages");
this->uploadDate->SetText(std::to_string(comic.timestamp));
this->uploadDate->SetText(utl::getRelativeTime
(comic.timestamp));
printf("fix style...\n");
fixStyle();
}
Expand Down

0 comments on commit d87fd33

Please sign in to comment.