MCPcopy Create free account
hub / github.com/codecombat/codecombat / typeDescriptionWithTime

Method typeDescriptionWithTime

app/models/Prepaid.js:83–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81 }
82
83 typeDescriptionWithTime () {
84 const endDate = moment(this.get('endDate')).utc().format('ll')
85 let endAt = `<br>${i18n.t('teacher.status_enrolled')}`
86 endAt = endAt.replace('{{date}}', endDate)
87 return this.typeDescription() + endAt
88 }
89
90 redeem (user, options) {
91 if (options == null) { options = {} }

Callers 4

constructorMethod · 0.80
redeemUsersMethod · 0.80
constructorMethod · 0.80
redeemUsersMethod · 0.80

Calls 2

typeDescriptionMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected