Index: src/OFDate.h ================================================================== --- src/OFDate.h +++ src/OFDate.h @@ -186,10 +186,17 @@ * * @return The minute of the date */ - (uint8_t)minute; +/*! + * @brief Returns the minute of the date in local time. + * + * @return The minute of the date in local time + */ +- (uint8_t)localMinute; + /*! * @brief Returns the hour of the date. * * @return The hour of the date */ Index: src/OFDate.m ================================================================== --- src/OFDate.m +++ src/OFDate.m @@ -451,10 +451,15 @@ - (uint8_t)minute { GMTIME_RET(tm_min) } + +- (uint8_t)localMinute +{ + LOCALTIME_RET(tm_min) +} - (uint8_t)hour { GMTIME_RET(tm_hour) }