mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-21 06:45:21 -06:00
Fixed some typos.
This commit is contained in:
parent
87dc69cb5a
commit
8c43a996f8
1 changed files with 2 additions and 2 deletions
|
|
@ -295,7 +295,7 @@ _datetime_to_excel_date(lxw_datetime *datetime, uint8_t date_1904)
|
|||
}
|
||||
|
||||
/*
|
||||
* Caclcluate the serial date by accumulating the number of days
|
||||
* Calculate the serial date by accumulating the number of days
|
||||
* since the epoch.
|
||||
*/
|
||||
|
||||
|
|
@ -313,7 +313,7 @@ _datetime_to_excel_date(lxw_datetime *datetime, uint8_t date_1904)
|
|||
days -= (range + offset) / 100;
|
||||
/* Add 400 year leapdays. */
|
||||
days += (range + offset + norm) / 400;
|
||||
/* Removee leap days already counted. */
|
||||
/* Remove leap days already counted. */
|
||||
days -= leap;
|
||||
|
||||
/* Adjust for Excel erroneously treating 1900 as a leap year. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue