summaryrefslogtreecommitdiffstats
path: root/package/tz
Commit message (Collapse)AuthorAgeFilesLines
* tz: remove SOURCE variableThomas Petazzoni2016-07-031-1/+0
| | | | | | | | | Now that the package infrastructure doesn't attempt to download a package that has an empty version string, there's no need to define the SOURCE variable in the tz package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tz: fix incorrect timezone setting for uclibcScott Fan2015-08-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | According to the doc file from <uclibc-src>/docs/ Glibc_vs_uClibc_Differences.txt, the uclibc library read the TZ environment variable, or the /etc/TZ file; the /etc/TZ file should be a single line, ending with a newline, containing the TZ setting. For example: echo CST6CDT > /etc/TZ Whereas the tzdump cmd would output two lines like this: # Asia/Shanghai CST-8 This make the uclibc could not read the correct TZ setting, therefore e.g. the 'busybox date' cmd always show the UTC timezone. This fix remove the redundant first line from the tzdump output. Signed-off-by: Scott Fan <fancp2007@gmail.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2014-11-021-9/+9
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* system/timezone: check localtime existsYann E. MORIN2014-05-221-0/+5
| | | | | | | | | When installing a localtime, check it is a valid timezone. [Peter: extend error message to make it clear to the user what to change] Reported-by: Sagaert Johan <sagaert.johan@skynet.be> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/tz: install missing filesYann E. MORIN2014-05-041-0/+4
| | | | | | | | | | As for the tzdata package, install the missing files: - zone.tab : {country-code,coordinates,timezone} tuples - iso3166.tab: {country-code,country} tuples Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* tz: new packageAlexandre Belloni2014-04-092-0/+35
uClibc can not use timezone info from tzdata as-is, but accepts setting the local timezone in /etc/TZ. [Peter: strip quotes/use local TZ_LOCALTIME variable] Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> [yann.morin.1998@free.fr: make it a blind package; little tweak to help text] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud