Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miliseconds lost on DateTime #19

Open
Holek opened this issue Jan 8, 2013 · 1 comment
Open

Miliseconds lost on DateTime #19

Holek opened this issue Jan 8, 2013 · 1 comment

Comments

@Holek
Copy link

Holek commented Jan 8, 2013

Due to the implementation of now method milliseconds are lost when using Delorean.

$ rails console
ruby-1.9.3-p125-perf :001 > DateTime.now.strftime("%L")
 => "462" 
ruby-1.9.3-p125-perf :002 > DateTime.now.strftime("%L")
 => "175" 
ruby-1.9.3-p125-perf :003 > require 'delorean'
 => true 
ruby-1.9.3-p125-perf :004 > DateTime.now.strftime("%L")
 => "000" 
Holek added a commit to Holek/delorean that referenced this issue Jan 8, 2013
@schorsch
Copy link

schorsch commented Jan 9, 2013

+1

tagliala added a commit to tagliala/delorean that referenced this issue Mar 29, 2014
Updated rspec syntax
Added failing test and fixed bebanjo#19
@tagliala tagliala mentioned this issue Mar 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants