1module ProjectM36.DataTypes.DateTime where
3import ProjectM36.AtomFunctionBody
4import qualified Data.HashSet as HS
5import Data.Time.Clock.POSIX
7dateTimeAtomFunctions :: AtomFunctions
8dateTimeAtomFunctions = HS.fromList [ AtomFunction {
9 atomFuncName = "dateTimeFromEpochSeconds",
10 atomFuncType = [IntAtomType, DateTimeAtomType],
11 atomFuncBody = compiledAtomFunctionBody $ \(IntAtom epoch:_) -> pure (DateTimeAtom (posixSecondsToUTCTime (realToFrac epoch)))
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list