 		[ 
 			'published'
 			utils.createPropertyMapper 'publishedFormatted', (published) ->
-				moment(published).format('YYYY-MM-DD HH:mm:ss')
+				moment(published).locale(lang).format('L LT')
 		]
 	)
 
-itemSelector = (state) ->
+articleSelector = (state) ->
 	state = state.articleState.toJS()
 	if state.articles.length
 		article = state.articles[0]

		],
		formatSelector
	)
	itemSelector: Reselect.createSelector(
		[
			Reselect.createSelector [ itemSelector ], formatSelector
			appSelectors.titleSelector
		]
		(state, titleState) ->
			title = titleState.title
			articleTitle = state.article.title
			if articleTitle
				title = articleTitle + ' - ' + title
			state.title = title
			state
	)
	editorSelector: Reselect.createSelector(
		[
			itemSelector
			appSelectors.localeSelector
			(state) ->
				state.articleState.get('defaults').toJS()
		]
		(state, localeState, defaults) ->
			Immutable.Map(state).merge(
				Immutable.Map(
					defaults: defaults
					localeStrings: localeState.localeStrings.ArticleEditor
				)
			).toObject()

		article: article
		lang: state.lang
	}

itemSelector = Reselect.createSelector(
	[
		Reselect.createSelector [ articleSelector ], formatSelector
		appSelectors.titleSelector
	]
	(state, titleState) ->
		title = titleState.title
		articleTitle = state.article.title
		if articleTitle
			title = articleTitle + ' - ' + title
		state.title = title
		state
)

module.exports =
	containerSelector: Reselect.createSelector(
