Method: AEMO::Time.format_timestamp8
- Defined in:
- lib/aemo/time.rb
.format_timestamp8(time) ⇒ String
Format a time to a timestamp 8.
40 41 42 |
# File 'lib/aemo/time.rb', line 40 def (time) time.in_time_zone(NEMTIMEZONE).strftime(TIMESTAMP8) end |