ANCS-Library icon indicating copy to clipboard operation
ANCS-Library copied to clipboard

Date and Time Issue

Open zkprogram opened this issue 9 years ago • 0 comments

Hi, I was trying to use the date and time attributes and I kept coming out with values that were completely wrong. After looking at the code, I found some errors that I corrected in the attached files. First, buffer only needed to have 4 or 2 added to it each time. Also, the time.Y was defined as an 8 bit integer, which could not hold the correct date of 2016.

I also added a way to retrieve seconds with time.s.

I attached the corrected files as PDFs under the same names as the originals. ancs_data_source.cpp.pdf ancs_notification.h.pdf

zkprogram avatar Apr 01 '16 18:04 zkprogram