Sha256: a8e159e2bbb1925ecc4bba7fc635fb2e874dc4ab95f9328383aa4c3ef33f2a9c
Contents?: true
Size: 577 Bytes
Versions: 6
Compression:
Stored size: 577 Bytes
Contents
#= require medivo/models ########## Appointment model ############## class window.Appointment constructor: (@data) -> formattedDate: -> try date = Date.parseExact(@data.replace('|',' '), 'M/d/yyyy hh:mm tt') date.toString("dddd, MMMM d, yyyy h:mm tt") catch e console.log("error with date: #{@data}") return "" ########## AppointmentList model ############## class window.AppointmentList extends List constructor: (appointment_info, show_number)-> super( appointment_info, show_number, Appointment, 'appointment_list_tracker')
Version data entries
6 entries across 6 versions & 1 rubygems