← Back to team overview

touch-packages team mailing list archive

[Bug 1403301] Re: Ubuntu 12.04 touch -t does not work for March 9 2014

 

This doesn't appear to be a bug.  As it stands that day listed in the
description seems to be affected by a Daylight Savings Time issue, where
the time may physically not exist in the system's timezone.

When the timezone present is set to Etc/Utc this issue does not occur.
When in a timezone affected by Daylight Savings Time (such as
America/New_York, which my own system is set to), this issue appears
because the date can't exist (due to DST).

Therefore, this is a TZ/daylight savings time related issue, not a bug
in the `touch` program.

** Changed in: coreutils (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1403301

Title:
  Ubuntu 12.04 touch -t does not work for March 9 2014

Status in coreutils package in Ubuntu:
  Invalid

Bug description:
  Version of Ubuntu used:

  lsb_release -a
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 12.04.5 LTS
  Release:	12.04
  Codename:	precise

  
  I am using touch -t to generate files to test backup file rotation.  'touch' does not believe March 9, 2014 is a valid date.

  Working:

  touch -t "201303090220" somefile
  touch -t "201403100220" somefile

  Not working:

  touch -t "201403090220" broke
  touch: invalid date format `201403090220'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1403301/+subscriptions