leading zero date format fixed
This commit is contained in:
parent
710ace42bf
commit
67927742bb
@ -221,7 +221,7 @@ getSShowR tid csh shn = do
|
|||||||
{ dbtSQLQuery = fileData
|
{ dbtSQLQuery = fileData
|
||||||
, dbtColonnade = colonnadeFiles
|
, dbtColonnade = colonnadeFiles
|
||||||
, dbtAttrs = tableDefault
|
, dbtAttrs = tableDefault
|
||||||
-- , dbtFilter = Map.empty -- TODO: Just for Testing. Gregor needs to explain what is needed here.
|
, dbtFilter = Map.empty
|
||||||
, dbtIdent = "files" :: Text
|
, dbtIdent = "files" :: Text
|
||||||
-- TODO: Add column for and visibility date
|
-- TODO: Add column for and visibility date
|
||||||
, dbtSorting = [ ( "type"
|
, dbtSorting = [ ( "type"
|
||||||
|
|||||||
@ -366,7 +366,7 @@ utcTimeField = Field
|
|||||||
where
|
where
|
||||||
fieldTimeFormat :: String
|
fieldTimeFormat :: String
|
||||||
--fieldTimeFormat = "%e.%m.%y %k:%M"
|
--fieldTimeFormat = "%e.%m.%y %k:%M"
|
||||||
fieldTimeFormat = "%Y-%m-%eT%H:%M"
|
fieldTimeFormat = "%Y-%m-%dT%H:%M"
|
||||||
|
|
||||||
readTime :: Text -> Either FormMessage UTCTime
|
readTime :: Text -> Either FormMessage UTCTime
|
||||||
readTime t =
|
readTime t =
|
||||||
|
|||||||
@ -99,8 +99,6 @@ instance DisplayAble Text where
|
|||||||
instance DisplayAble String where
|
instance DisplayAble String where
|
||||||
display = pack
|
display = pack
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
instance DisplayAble a => DisplayAble (Maybe a) where
|
instance DisplayAble a => DisplayAble (Maybe a) where
|
||||||
display Nothing = ""
|
display Nothing = ""
|
||||||
display (Just x) = display x
|
display (Just x) = display x
|
||||||
|
|||||||
Reference in New Issue
Block a user