React = require 'react' _ = require "underscore-plus" moment = require 'moment' classNames = require 'classnames' class TodayIcon extends React.Component @displayName: 'TodayIcon' constructor: (@props) -> @state = moment: moment() componentDidMount: => @_setTimeState() componentWillUnmount: => clearInterval(@_timer) render: => classes = classNames 'today-icon': true 'selected': @props.selected