Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
measurment error
Browse files Browse the repository at this point in the history
  • Loading branch information
hotline1337 committed Jun 25, 2023
1 parent 5a176dd commit eba74d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R3nzSkin_Injector/Injector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ void Injector::autoUpdate()
auto version = gcnew String(tagnameMatch[1].str().c_str());
if (std::regex_search(json, dateMatch, dateRegex))
{
auto date_of_github_release = DateTime::ParseExact(gcnew String(dateMatch[1].str().c_str()), L"yyyy-MM-ddTHH:mm:ssZ", CultureInfo::InvariantCulture).ToString(L"dd.MM.yyyy HH:mm:ss");
auto date_of_current_release = System::IO::File::GetLastWriteTime(L"R3nzSkin.dll").ToString(L"dd.MM.yyyy HH:mm:ss");
auto date_of_github_release = DateTime::ParseExact(gcnew String(dateMatch[1].str().c_str()), L"yyyy-MM-ddTHH:mm:ssZ", CultureInfo::InvariantCulture).ToString(L"dd.MM.yyyy HH:00");
auto date_of_current_release = System::IO::File::GetLastWriteTime(L"R3nzSkin.dll").ToString(L"dd.MM.yyyy HH:00");
if (date_of_current_release != date_of_github_release)
{
auto date_of_github_release_class = DateTime::Parse(date_of_github_release);
Expand Down

2 comments on commit eba74d3

@danbaidong1111
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to find pattern?

@Vitraxx
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also have this error. Failed to find pattern

Please sign in to comment.