summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/time.rb
AgeCommit message (Collapse)Author
2015-06-04Fix time() on 1.8.7Hunter Haugen
The time() function takes an argument of a timezone, and always returns time in epoch format. The epoch format is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds. This means that it is universally the same regardless of timezones. I don't know what the timezone argument is supposed to do, and it is not documented. So lets just make 1.8.7 work like > 1.8.7
2011-07-29(#3) Apply missing documentation to more functions.Ken Barber
2011-06-29Added tests for each function, fixing functions as we hit bugs.Ken Barber
2011-04-30Convert to module format.Ken Barber