diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-04-12 10:06:02 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-04-12 10:06:02 -0700 |
| commit | f4609365287d80600a80c63cedd25de97b38d041 (patch) | |
| tree | 9d2ef3ab421367df816a193b6dc860182167fe2c /src | |
| parent | ebad6791073b3bbe4272cbae3ce2ab87d97e70b9 (diff) | |
Revert "Add 'nightly' flag and build with this for nightlies."
This reverts commit f81f5a20900ca9d8ad9971b6f57c11281ab2b048.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/App/CommandLineOptions.hs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs index 797a73725..ffb7c5eb8 100644 --- a/src/Text/Pandoc/App/CommandLineOptions.hs +++ b/src/Text/Pandoc/App/CommandLineOptions.hs @@ -56,8 +56,6 @@ import Text.Pandoc.Filter (Filter (..)) import Text.Pandoc.Highlighting (highlightingStyles) import Text.Pandoc.Shared (ordNub, elemText, safeStrRead, defaultUserDataDir) import Text.Printf -import Data.Time.Clock (UTCTime(utctDay), getCurrentTime) -import Data.Time.Format (defaultTimeLocale, iso8601DateFormat, formatTime) #ifdef EMBED_DATA_FILES import Text.Pandoc.Data (dataFiles) @@ -954,20 +952,9 @@ options = openlibs getglobal "_VERSION" peek top - versionSuffix <- -#ifdef NIGHTLY - ("-nightly-" ++) - . formatTime defaultTimeLocale - (iso8601DateFormat Nothing) - . utctDay - <$> Data.Time.Clock.getCurrentTime -#else - pure "" -#endif UTF8.hPutStrLn stdout $ T.pack - $ prg ++ " " ++ - T.unpack pandocVersion ++ versionSuffix ++ + $ prg ++ " " ++ T.unpack pandocVersion ++ compileInfo ++ "\nScripting engine: " ++ luaVersion ++ "\nUser data directory: " ++ defaultDatadir ++ ('\n':copyrightMessage) |
