Project

wtf

0.0
No commit activity in last 3 years
No release in over a year
WTF is your program doing?
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme
= World Time Format Converter

== Description

The WTF gem provides a Ruby class to convert between standard
time and World Time Format.  For more information, visit
http://www.worldtimeformat.com

== Examples

  WTF::Date.new("FIWIT:NAAAA").as_utc  # converts a WTF datetime to a Ruby Time object
  WTF::Date.new(time).as_wtf           # converts from a Ruby Time object to a WTF string
  WTF::Date.now.as_wtf                 # returns a WTF string representing the current datetime
  WTF::Date.now.date_part              # returns a WTF string representing the current date
  WTF::Date.now.time_part              # returns a WTF string representing the current time
  WTF::Date.convert("FIWIT:NAAAA")     # convenience method for converting
  WTF::Date.convert(time)              # convenience method for converting