()
| 110 | } |
| 111 | |
| 112 | func (u User) CreatedFriendly() string { |
| 113 | /* |
| 114 | // TODO: accept a locale in this method and use that for the format |
| 115 | var loc monday.Locale = monday.LocaleEnUS |
| 116 | return monday.Format(u.Created, monday.DateTimeFormatsByLocale[loc], loc) |
| 117 | */ |
| 118 | return u.Created.Format("January 2, 2006, 3:04 PM") |
| 119 | } |
| 120 | |
| 121 | // Cookie strips down an AuthUser to contain only information necessary for |
| 122 | // cookies. |