/dports/databases/py-gdbm/Python-3.8.12/Modules/ |
H A D | _datetimemodule.c | 5760 struct tm local_time_tm; in local_timezone_from_timestamp() local 5764 if (_PyTime_localtime(timestamp, &local_time_tm) != 0) in local_timezone_from_timestamp() 5767 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp() 5768 delta = new_delta(0, local_time_tm.tm_gmtoff, 0, 1); in local_timezone_from_timestamp() 5774 strftime(buf, sizeof(buf), "%Z", &local_time_tm); in local_timezone_from_timestamp() 5776 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 5777 local_time_tm.tm_mon + 1, in local_timezone_from_timestamp() 5778 local_time_tm.tm_mday, in local_timezone_from_timestamp() 5779 local_time_tm.tm_hour, in local_timezone_from_timestamp() 5780 local_time_tm.tm_min, in local_timezone_from_timestamp() [all …]
|
/dports/lang/python310/Python-3.10.1/Modules/ |
H A D | _datetimemodule.c | 5885 struct tm local_time_tm; in local_timezone_from_timestamp() local 5889 if (_PyTime_localtime(timestamp, &local_time_tm) != 0) in local_timezone_from_timestamp() 5892 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp() 5893 delta = new_delta(0, local_time_tm.tm_gmtoff, 0, 1); in local_timezone_from_timestamp() 5899 strftime(buf, sizeof(buf), "%Z", &local_time_tm); in local_timezone_from_timestamp() 5901 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 5902 local_time_tm.tm_mon + 1, in local_timezone_from_timestamp() 5903 local_time_tm.tm_mday, in local_timezone_from_timestamp() 5904 local_time_tm.tm_hour, in local_timezone_from_timestamp() 5905 local_time_tm.tm_min, in local_timezone_from_timestamp() [all …]
|
/dports/lang/python37/Python-3.7.12/Modules/ |
H A D | _datetimemodule.c | 5658 struct tm local_time_tm; in local_timezone_from_timestamp() local 5662 if (_PyTime_localtime(timestamp, &local_time_tm) != 0) in local_timezone_from_timestamp() 5665 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp() 5666 delta = new_delta(0, local_time_tm.tm_gmtoff, 0, 1); in local_timezone_from_timestamp() 5672 strftime(buf, sizeof(buf), "%Z", &local_time_tm); in local_timezone_from_timestamp() 5674 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 5675 local_time_tm.tm_mon + 1, in local_timezone_from_timestamp() 5676 local_time_tm.tm_mday, in local_timezone_from_timestamp() 5677 local_time_tm.tm_hour, in local_timezone_from_timestamp() 5678 local_time_tm.tm_min, in local_timezone_from_timestamp() [all …]
|
/dports/lang/python-tools/Python-3.8.12/Modules/ |
H A D | _datetimemodule.c | 5760 struct tm local_time_tm; in local_timezone_from_timestamp() local 5764 if (_PyTime_localtime(timestamp, &local_time_tm) != 0) in local_timezone_from_timestamp() 5767 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp() 5768 delta = new_delta(0, local_time_tm.tm_gmtoff, 0, 1); in local_timezone_from_timestamp() 5774 strftime(buf, sizeof(buf), "%Z", &local_time_tm); in local_timezone_from_timestamp() 5776 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 5777 local_time_tm.tm_mon + 1, in local_timezone_from_timestamp() 5778 local_time_tm.tm_mday, in local_timezone_from_timestamp() 5779 local_time_tm.tm_hour, in local_timezone_from_timestamp() 5780 local_time_tm.tm_min, in local_timezone_from_timestamp() [all …]
|
/dports/lang/python38/Python-3.8.12/Modules/ |
H A D | _datetimemodule.c | 5760 struct tm local_time_tm; in local_timezone_from_timestamp() local 5764 if (_PyTime_localtime(timestamp, &local_time_tm) != 0) in local_timezone_from_timestamp() 5767 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp() 5768 delta = new_delta(0, local_time_tm.tm_gmtoff, 0, 1); in local_timezone_from_timestamp() 5774 strftime(buf, sizeof(buf), "%Z", &local_time_tm); in local_timezone_from_timestamp() 5776 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 5777 local_time_tm.tm_mon + 1, in local_timezone_from_timestamp() 5778 local_time_tm.tm_mday, in local_timezone_from_timestamp() 5779 local_time_tm.tm_hour, in local_timezone_from_timestamp() 5780 local_time_tm.tm_min, in local_timezone_from_timestamp() [all …]
|
/dports/databases/py-sqlite3/Python-3.8.12/Modules/ |
H A D | _datetimemodule.c | 5760 struct tm local_time_tm; in local_timezone_from_timestamp() local 5764 if (_PyTime_localtime(timestamp, &local_time_tm) != 0) in local_timezone_from_timestamp() 5767 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp() 5768 delta = new_delta(0, local_time_tm.tm_gmtoff, 0, 1); in local_timezone_from_timestamp() 5774 strftime(buf, sizeof(buf), "%Z", &local_time_tm); in local_timezone_from_timestamp() 5776 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 5777 local_time_tm.tm_mon + 1, in local_timezone_from_timestamp() 5778 local_time_tm.tm_mday, in local_timezone_from_timestamp() 5779 local_time_tm.tm_hour, in local_timezone_from_timestamp() 5780 local_time_tm.tm_min, in local_timezone_from_timestamp() [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Modules/ |
H A D | _datetimemodule.c | 5760 struct tm local_time_tm; in local_timezone_from_timestamp() local 5764 if (_PyTime_localtime(timestamp, &local_time_tm) != 0) in local_timezone_from_timestamp() 5767 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp() 5768 delta = new_delta(0, local_time_tm.tm_gmtoff, 0, 1); in local_timezone_from_timestamp() 5774 strftime(buf, sizeof(buf), "%Z", &local_time_tm); in local_timezone_from_timestamp() 5776 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 5777 local_time_tm.tm_mon + 1, in local_timezone_from_timestamp() 5778 local_time_tm.tm_mday, in local_timezone_from_timestamp() 5779 local_time_tm.tm_hour, in local_timezone_from_timestamp() 5780 local_time_tm.tm_min, in local_timezone_from_timestamp() [all …]
|
/dports/lang/python311/Python-3.11.0a3/Modules/ |
H A D | _datetimemodule.c | 5889 struct tm local_time_tm; in local_timezone_from_timestamp() local 5893 if (_PyTime_localtime(timestamp, &local_time_tm) != 0) in local_timezone_from_timestamp() 5896 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp() 5897 delta = new_delta(0, local_time_tm.tm_gmtoff, 0, 1); in local_timezone_from_timestamp() 5903 strftime(buf, sizeof(buf), "%Z", &local_time_tm); in local_timezone_from_timestamp() 5905 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 5906 local_time_tm.tm_mon + 1, in local_timezone_from_timestamp() 5907 local_time_tm.tm_mday, in local_timezone_from_timestamp() 5908 local_time_tm.tm_hour, in local_timezone_from_timestamp() 5909 local_time_tm.tm_min, in local_timezone_from_timestamp() [all …]
|
/dports/lang/python39/Python-3.9.9/Modules/ |
H A D | _datetimemodule.c | 5894 struct tm local_time_tm; in local_timezone_from_timestamp() local 5898 if (_PyTime_localtime(timestamp, &local_time_tm) != 0) in local_timezone_from_timestamp() 5901 zone = local_time_tm.tm_zone; in local_timezone_from_timestamp() 5902 delta = new_delta(0, local_time_tm.tm_gmtoff, 0, 1); in local_timezone_from_timestamp() 5908 strftime(buf, sizeof(buf), "%Z", &local_time_tm); in local_timezone_from_timestamp() 5910 local_time = new_datetime(local_time_tm.tm_year + 1900, in local_timezone_from_timestamp() 5911 local_time_tm.tm_mon + 1, in local_timezone_from_timestamp() 5912 local_time_tm.tm_mday, in local_timezone_from_timestamp() 5913 local_time_tm.tm_hour, in local_timezone_from_timestamp() 5914 local_time_tm.tm_min, in local_timezone_from_timestamp() [all …]
|