Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix formating issue with nano-seconds

  • Loading branch information...
commit 6a6aee36952696c578dc05c3547ac4cc24bf2492 1 parent 13a3cfe
@mkristian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/ixtlan/babel/factory.rb
View
2  lib/ixtlan/babel/factory.rb
@@ -30,7 +30,7 @@ class Factory
end
DATE_TIME_TO_S = Proc.new do |dt|
- dt.strftime('%Y-%m-%dT%H:%M:%S.') + ("%06d" % (dt.sec_fraction * NANOSECONDS_IN_DAY ) ) + dt.strftime('%z')
+ dt.strftime('%Y-%m-%dT%H:%M:%S.') + ("%06d" % (dt.sec_fraction * NANOSECONDS_IN_DAY ) )[0..6] + dt.strftime('%z')
end
DEFAULT_MAP = {
Please sign in to comment.
Something went wrong with that request. Please try again.