Modernized date formatting code

This commit is contained in:
Sven Axelsson 2013-12-29 12:26:42 +01:00
parent 01591eb7c9
commit 528a73c1f8
2 changed files with 2 additions and 8 deletions

View File

@ -4,10 +4,7 @@
\version "2.16.0"
% Bring in the time/date package. Set format to month day, year
#(use-modules (srfi srfi-19))
today = #(date->string (current-date) "~B ~e, ~Y")
today = #(strftime "%B %e, %Y" (localtime (current-time)))
\paper {
raggedbottom = ##t

View File

@ -4,10 +4,7 @@
\version "2.16.0"
% Bring in the time/date package. Set format to month day, year
#(use-modules (srfi srfi-19))
today = #(date->string (current-date) "~B ~e, ~Y")
today = #(strftime "%B %e, %Y" (localtime (current-time)))
\paper {
raggedbottom = ##t