librelist archives

« back to archive

[MailCore/mailcore2] e9e73d: Fixed month and year calculation by adding +1 for ...

[MailCore/mailcore2] e9e73d: Fixed month and year calculation by adding +1 for ...

From:
Hoà V. Dinh
Date:
2013-12-11 @ 06:56
  Branch: refs/heads/master
  Home:   https://github.com/MailCore/mailcore2
  Commit: e9e73de6911e1f4f25a0c71d6566b90ef9851790
      
https://github.com/MailCore/mailcore2/commit/e9e73de6911e1f4f25a0c71d6566b90ef9851790
  Author: pfennema <paul@bryce.demon.nl>
  Date:   2013-12-09 (Mon, 09 Dec 2013)

  Changed paths:
    M src/core/imap/MCIMAPSession.cc

  Log Message:
  -----------
  Fixed month and year calculation by adding +1 for month and +1900 for year.
the tm structure has months starting with 0, while libetpan expects that 
January starts at 1
Furthermore, the year component is an integer starting from 1900 while 
libetpan expects a 4 digit year number


  Commit: 7bec22f5f4800def9ba51cbea442ea2104385f19
      
https://github.com/MailCore/mailcore2/commit/7bec22f5f4800def9ba51cbea442ea2104385f19
  Author: Hoà V. DINH <dinh.viet.hoa@gmail.com>
  Date:   2013-12-10 (Tue, 10 Dec 2013)

  Changed paths:
    M src/core/imap/MCIMAPSession.cc

  Log Message:
  -----------
  Merge pull request #494 from pfennema/master

Fixed month and year calculation by adding +1 for month and +1900 for ye...


Compare: https://github.com/MailCore/mailcore2/compare/9214fee7bb85...7bec22f5f480