Skip to content

Commit

Permalink
richer formats: fractional seconds for %b datetime
Browse files Browse the repository at this point in the history
with thanks to Bob Jansen in #29 (comment)
  • Loading branch information
eddelbuettel committed Nov 5, 2016
1 parent 41b52ca commit 697be1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/anytime.cpp
Expand Up @@ -46,10 +46,10 @@ const std::string sformats[] = {
"%b-%d-%Y %H:%M:%S%f",
"%d.%b.%Y %H:%M:%S%f",

"%d%b%Y %H%M%S",
"%d%b%Y %H:%M:%S",
"%d-%b-%Y %H%M%S",
"%d-%b-%Y %H:%M:%S",
"%d%b%Y %H%M%S%f",
"%d%b%Y %H:%M:%S%f",
"%d-%b-%Y %H%M%S%f",
"%d-%b-%Y %H:%M:%S%f",

"%Y-%B-%d %H:%M:%S%f",
"%Y/%B/%d %H:%M:%S%f",
Expand Down

0 comments on commit 697be1d

Please sign in to comment.