gswe_timestamp_get_gregorian_timezone doesn't recalculate gregorian value
timezone_offset is not changed by the calculation process, no recalculation is needed.
This commit is contained in:
parent
fbc29dbb2e
commit
2fb9569e6c
@ -771,8 +771,6 @@ gswe_timestamp_set_gregorian_timezone(GsweTimestamp *timestamp, gdouble gregoria
|
|||||||
gdouble
|
gdouble
|
||||||
gswe_timestamp_get_gregorian_timezone(GsweTimestamp *timestamp)
|
gswe_timestamp_get_gregorian_timezone(GsweTimestamp *timestamp)
|
||||||
{
|
{
|
||||||
gswe_timestamp_calculate_gregorian(timestamp);
|
|
||||||
|
|
||||||
return timestamp->priv->gregorian_timezone_offset;
|
return timestamp->priv->gregorian_timezone_offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user