Skip to content

Commit 194f3a9

Browse files
committed
full year
1 parent 3b3f404 commit 194f3a9

File tree

1 file changed

+1
-1
lines changed
  • services/static-webserver/client/source/class/osparc/vipMarket

1 file changed

+1
-1
lines changed

services/static-webserver/client/source/class/osparc/vipMarket/VipMarket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ qx.Class.define("osparc.vipMarket.VipMarket", {
230230
licensedItemsStore.purchaseLicensedItem(licensedItemId, walletId, pricingPlanId, pricingUnitId, numberOfSeats)
231231
.then(() => {
232232
const expirationDate = new Date();
233-
expirationDate.setYear(expirationDate.getYear() + 1); // hardcoded for now: rented for one year from now
233+
expirationDate.setFullYear(expirationDate.getFullYear() + 1); // hardcoded for now: rented for one year from now
234234
const purchaseData = {
235235
expiresAt: expirationDate, // get this info from the response
236236
numberOfSeats, // get this info from the response

0 commit comments

Comments
 (0)