Skip to content

Commit fd3fb12

Browse files
committed
Merge branch 'jola' of https://github.com/scu-covariant/cids-servers into jola
2 parents 7aa9c9c + e26770a commit fd3fb12

File tree

204 files changed

+777
-18610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

204 files changed

+777
-18610
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if(NOT TARGET nanodbc)
1414
endif()
1515

1616
#find- rapidjson
17-
find_package(RapidJson REQUIRED)
17+
find_package(RapidJSON REQUIRED)
1818

1919
#already put muduo in the project
2020

Src/Common/ServerBase.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ scu_time scu_time::toScutime(const muduo::Timestamp &timestamp){
4949
int seconds = allSeconds % 86400;
5050
size_t hour = seconds / 3600;
5151
size_t minute = (seconds - hour * 3600) / 60;
52+
if(hour >= 16)
53+
hour -= 16;
54+
else
55+
hour += 8;
5256
return scu_time(hour, minute);
5357
}
5458

0 commit comments

Comments
 (0)