moment = require 'moment'
twix = require 'twix'
_ = require 'underscore'


durations =
  create: (startTime, endTime) ->
    moment(startTime).twix(endTime)

moment = require 'moment'
twix = require 'twix'
_ = require 'underscore'
{TimeStore} = require '../flux/time'

module.exports =
  create: (startTime, endTime) ->
    moment(startTime).twix(endTime)

  isPastDue: ({due_at}) ->
    moment(TimeStore.getNow()).isAfter(due_at)

Add isPastDue method and export methods
Add isPastDue method and export methods

I don't think this actually worked before? It didn't export anything
