Browse Source

tags/2021-05-28
jules 17 years ago
parent
commit
6c8431a133
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/juce_core/basics/juce_Time.cpp

+ 3
- 1
src/juce_core/basics/juce_Time.cpp View File

@@ -426,7 +426,9 @@ static int extendedModulo (const int64 value, const int modulo) throw()
int Time::getMinutes() const throw()
{
return extendedModulo (millisSinceEpoch / 60000, 60);
struct tm t;
millisToLocal (millisSinceEpoch, t);
return t.tm_min;
}
int Time::getSeconds() const throw()


Loading…
Cancel
Save