mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 11:40:42 +00:00
Open Source CPAP Analysis Reporter
A fork of sleepyhead/sleepyhead-code
QT 5 changed the behavior of QDateTime::fromMSecsSinceEpoch to return the result in local time zone, whereas in QT 4, it returned UTC. On systems that do not support time zones, the QT 5 version still returns UTC. But for all other systems, the api change causes confusion in the SH UI because some date and time values are displayed in UTC instead of the local time zone. This manifests itself when the user is in USA which has a negative UTC offset. When selecting a date range to display in the overview screen, the displayed dates appear to be one day behind the selected date range. For consistently, SH should always use UTC internally and only convert to the local time zone when displaying data to the user. This will ensure that the time zone information is preserved correctly when the UTC offset of the user's machine changes due to DST changes or traveling. There are a few calls to fromMSecsSinceEpoch which should be using local time, and those will be updated in future commits. |
||
---|---|---|
3rdparty | ||
history | ||
innosetup | ||
sleepyhead | ||
Translations | ||
.gitignore | ||
Bundle3rdParty | ||
configure | ||
COPYING | ||
Doxyfile | ||
README | ||
SleepyHeadQT.pro | ||
version.sh |
SleepyHead QT port v0.9 branch SleepyHead is cross platform, opensource sleep tracking program for reviewing CPAP and Oximetry data, which are devices used in the treatment of Sleep Disorders like Obstructive Sleep Apnea. Requirements: ------------- Qt5 SDK with webkit (opengl stuff recommended) Linux needs libudev-dev for qserialport to compile Building: -------- Recommend shadow building to not cruft up the source code folder: cd .. mkdir build_sleepyhead cd build_sleepyhead qmake ../sleepyhead-code/SleepyHeadQT.pro make You may need to add a -spec option to qmake to suit your platform. Adding -j3 speeds up the make command on a dual core or greater system. Author: Mark Watkins <jedimark@users.sourceforge.net> Copyright (C)2011-2014 Mark Watkins Licence Stuff ------------- This software is released under the GNU Public License version 3.0 Exceptions and 3rd Party Libraries: It uses QuaZip, by Sergey A. Tachenov, which is a C++ wrapper over Gilles Vollant's ZIP/UNZIP package.. http://sourceforge.net/projects/quazip/