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

Tests fail (if /etc/localtime is missing?) #9

Closed
eserte opened this issue Jul 12, 2017 · 1 comment
Closed

Tests fail (if /etc/localtime is missing?) #9

eserte opened this issue Jul 12, 2017 · 1 comment
Assignees

Comments

@eserte
Copy link

eserte commented Jul 12, 2017

On a CentOS6 system where /etc/localtime is missing I see test failures:

Cannot determine local time zone

    #   Failed test at t/02_timezone.t line 41.
    #          got: ''
    #     expected: '1388571825 -32400'
Cannot determine local time zone

    #   Failed test at t/02_timezone.t line 42.
    #          got: ''
    #     expected: '1388507025 32400'
    # Looks like you failed 2 tests of 2.

#   Failed test 'detect offset from date time string'
#   at t/02_timezone.t line 43.
# Looks like you failed 1 test of 5.
t/02_timezone.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests 

Things work if the TZ environment variable is set (e.g. to UTC).

Probably this depends on houseabsolute/DateTime-TimeZone#21

@karupanerura karupanerura self-assigned this Sep 29, 2017
@karupanerura
Copy link
Owner

This is DateTime's issue, so close it.

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

No branches or pull requests

2 participants