Setting the time zone value now doesn't validate the Gregorian date
This commit is contained in:
parent
a790512f13
commit
984ed5d527
@ -765,7 +765,6 @@ void
|
|||||||
gswe_timestamp_set_gregorian_timezone(GsweTimestamp *timestamp, gdouble gregorian_timezone_offset, GError **err)
|
gswe_timestamp_set_gregorian_timezone(GsweTimestamp *timestamp, gdouble gregorian_timezone_offset, GError **err)
|
||||||
{
|
{
|
||||||
timestamp->priv->gregorian_timezone_offset = gregorian_timezone_offset;
|
timestamp->priv->gregorian_timezone_offset = gregorian_timezone_offset;
|
||||||
timestamp->priv->valid_dates = VALID_GREGORIAN;
|
|
||||||
|
|
||||||
if (timestamp->priv->instant_recalc == TRUE) {
|
if (timestamp->priv->instant_recalc == TRUE) {
|
||||||
gswe_timestamp_calculate_all(timestamp, err);
|
gswe_timestamp_calculate_all(timestamp, err);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user