Users using the Tequila login are invited to migrate to This instance will close for Tequila users by May 2020.

Commit a5117682 authored by Joachim Desroches's avatar Joachim Desroches

Change subscription expiry date to 24th September.

parent f78d778e
......@@ -640,8 +640,7 @@ Return true if the member subscription has not expired yet.
C<< $member->subscription_expire >>
Return the UNIX timestamp corresponding to the expiration of the member's
subsciption. Subscriptions expire on 1st March of a given year unless the
subscription was payed after the 1st October of the previous year.
subsciption. Subscriptions expire on 24th September of a given year.
C<< $member->subscription_expire_as_string >>
Return the date when the subscription of the member expires.
......@@ -665,9 +664,8 @@ sub subscription {
sub subscription_expire {
my ($self) = @_;
my ($sec,$min,$hour,$mday,$mon,$year) = localtime($self->subscription);
$year += 1 if ($mon >= 8);
$year += 1;
return POSIX::mktime(0, 0, 12, 1, 2, $year);
return POSIX::mktime(0, 0, 12, 23, 8, $year);
sub subscription_expire_as_string {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment