Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>

WEEK'S BEST

  • Anchor CMS 0.5
  • trueDAT 4.00
  • HTML KickStart 0.92
  • WP Translate 0.6
  • Unobtrusive Google...
  • youRhere v1.4
  • slabText v1
  • Perfect Quotes 0.3.2
  • LLVM 3.0
  • -prefix-free 1.0.4
  • Home > Scripts > Calendar Systems > Time and Date

    Chronic 0.6.7

    Download button

    Downloads: 413  Tell us about an update
    User Rating:
    Rated by:
    Good (3.9/5)
    19 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Tom Preston-Werner | More scripts
    github.com
    MIT License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    Ruby
    February 6th, 2012, 10:56 GMT [view history]
    C: \ Calendar Systems \ Time and Date

     Read user reviews (0)  Refer to a friend  Subscribe

    Chronic description

    This is a pure Ruby natural language date parser

    It can parse dates/times in a wide variety of standard and natural formats from simple things like "tomorrow" to complicated things like "7 hours before tomorrow at noon".

    The library was built to interpret user natural language.

    Here are some key features of "Chronic":

    Simple dates:
    · thursday
    · november
    · summer
    · friday 13:00
    · mon 2:35
    · 4pm
    · 6 in the morning
    · friday 1pm
    · sat 7 in the evening
    · yesterday
    · today
    · tomorrow
    · this tuesday
    · next month
    · last winter
    · this morning
    · last night
    · this second
    · yesterday at 4:00
    · last friday at 20:00
    · last week tuesday
    · tomorrow at 6:45pm
    · afternoon yesterday
    · thursday last week

    Complex dates:
    · 3 years ago
    · 5 months before now
    · 7 hours ago
    · 7 days from now
    · 1 week hence
    · in 3 hours
    · 1 year ago tomorrow
    · 3 months ago saturday at 5:00 pm
    · 7 hours before tomorrow at noon
    · 3rd wednesday in november
    · 3rd month next year
    · 3rd thursday this september
    · 4th day last week

    Specific Dates:
    · January 5
    · dec 25
    · may 27th
    · October 2006
    · oct 06
    · jan 3 2010
    · february 14, 2004
    · 3 jan 2000
    · 17 april 85
    · 5/27/1979
    · 27/5/1979
    · 05/06
    · 1979-05-27
    · Friday
    · 5
    · 4:00
    · 17:00
    · 0800

    Specific Times (many of the above with an added time):
    · January 5 at 7pm
    · 1979-05-27 05:00

    What's New in This Release: [ read full changelog ]

    · Handle day, month names with scalar day and year.
    · Ensure 31st parses correctly with day names.



    TAGS:

    date parser | time tool | Ruby library | date | time | parser



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM