Skip to content
Snippets Groups Projects
Commit 0c59c241 authored by Alaric Senat's avatar Alaric Senat Committed by Alaric Senat
Browse files

Date: Fix typos

parent 531dd0c5
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,7 @@ bool fromStr( const std::string& str, tm* t ) ...@@ -134,7 +134,7 @@ bool fromStr( const std::string& str, tm* t )
* the timezone needs to be inverted when it comes to the offset we apply * the timezone needs to be inverted when it comes to the offset we apply
* to the hours/seconds. * to the hours/seconds.
* We aim to express the time in UTC, so if it's 1:00pm in GMT +2 we need * We aim to express the time in UTC, so if it's 1:00pm in GMT +2 we need
* to substract 2 hours to the given date to express the time it was in * to subtract 2 hours to the given date to express the time it was in
* GMT/UTC (in this example, it's 11:00AM GMT) * GMT/UTC (in this example, it's 11:00AM GMT)
*/ */
int sign = *remainder == '-' ? 1 : -1; int sign = *remainder == '-' ? 1 : -1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment