Parent Directory
|
Revision Log
|
Patch
| Revision 1.9 by sysadm, Thu Oct 23 13:41:47 2025 UTC | Revision 1.10 by sysadm, Thu Oct 23 14:17:09 2025 UTC | |
|---|---|---|
| # | Line 40 const char *get_astro_name(time_t birthd | Line 40 const char *get_astro_name(time_t birthd |
| 40 | { | { |
| 41 | struct tm tm_birth; | struct tm tm_birth; |
| 42 | ||
| 43 | localtime_r(&birthday, &tm_birth); | gmtime_r(&birthday, &tm_birth); |
| 44 | ||
| 45 | if (tm_birth.tm_mday < astro_dates[tm_birth.tm_mon]) | if (tm_birth.tm_mday < astro_dates[tm_birth.tm_mon]) |
| 46 | { | { |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |