Elliott Hughes
a9cac4c87a
Fix strftime if tm_zone is null.
...
Upstream tzcode said "On platforms with tm_zone, strftime.c now assumes it
is not NULL". Which is fine for any struct tm generated by tzcode, but not
necessarily true of a struct tm constructed by arbitrary code. In particular,
Netflix on Nexus Player was failing to start because they format "%Z" with
a struct tm whose tm_zone is null (the other fields are valid, but, yeah,
that's probably not intentional).
glibc takes a null tm_zone to mean "the current time zone", so let's do that
too. (Historically Android would use the empty string, and POSIX doesn't
clarify which of this is the appropriate behavior when tm_zone is null.)
Bug: http://b/25170306
Change-Id: Idbf68bfe90d143aca7dada8607742905188b1d33
2015-11-12 16:51:31 -08:00
..
2015-10-07 11:44:53 -07:00
2015-02-14 00:56:46 +08:00
2015-04-16 08:06:03 +00:00
2015-06-16 13:57:54 -07:00
2015-11-11 16:22:38 -08:00
2015-10-09 17:36:05 -07:00
2014-08-15 14:22:07 -07:00
2014-11-06 11:09:03 -08:00
2015-09-24 14:17:36 -07:00
2013-12-03 18:42:41 -08:00
2014-11-06 11:16:55 -08:00
2014-04-18 10:29:16 -07:00
2015-10-27 13:47:36 -07:00
2014-11-03 22:15:08 -08:00
2015-11-06 10:44:37 -08:00
2015-10-13 10:57:41 -07:00
2015-01-26 11:57:11 -08:00
2014-02-06 20:12:21 -08:00
2014-09-11 08:45:46 -07:00
2013-02-01 14:51:19 -08:00
2015-09-28 13:14:19 -07:00
2015-08-20 13:46:51 -04:00
2015-08-20 13:46:51 -04:00
2015-04-01 12:22:40 -07:00
2015-03-17 19:50:55 -04:00
2013-02-11 16:39:10 -08:00
2015-10-06 16:30:14 -07:00
2014-09-23 14:53:10 -07:00
2014-08-28 16:37:09 -07:00
2015-06-10 17:03:12 -07:00
2015-11-09 16:04:50 -08:00
2015-11-04 14:19:55 -08:00
2014-11-04 18:03:44 -08:00
2014-08-22 10:23:12 -07:00
2015-02-14 00:56:46 +08:00
2015-02-14 00:56:46 +08:00
2014-11-13 15:51:36 -08:00
2015-01-13 17:30:51 -08:00
2015-09-22 12:34:13 -07:00
2015-05-06 16:47:54 -07:00
2015-11-11 13:32:28 -08:00
2014-12-03 15:55:34 -08:00
2015-08-27 14:48:32 -07:00
2014-05-13 11:19:57 -07:00
2014-12-08 21:52:43 -08:00
2014-07-24 15:14:06 -07:00
2014-09-19 17:37:06 -07:00
2015-10-09 13:42:58 +02:00
2014-12-08 21:52:43 -08:00
2014-04-10 20:44:27 -07:00
2015-04-03 19:01:17 -07:00
2015-09-22 11:18:26 -07:00
2014-09-30 10:28:30 -07:00
2014-02-21 16:27:21 +00:00
2015-01-21 10:33:30 -08:00
2015-10-09 17:57:26 -07:00
2014-11-06 14:14:37 -08:00
2014-11-12 19:31:21 -08:00
2015-09-24 14:17:36 -07:00
2014-11-06 15:52:22 -08:00
2015-09-22 13:33:17 -07:00
2014-05-05 19:48:55 -07:00
2015-11-06 13:14:43 -08:00
2015-06-30 19:01:24 -07:00
2015-07-13 19:15:38 -07:00
2015-06-15 18:39:02 -07:00
2015-10-28 20:04:59 -07:00
2014-04-01 17:42:31 -07:00
2014-02-06 20:12:21 -08:00
2014-12-13 18:53:34 -08:00
2015-03-09 18:13:15 -07:00
2015-03-18 15:46:48 -07:00
2013-11-13 13:14:31 -08:00
2014-11-14 16:22:48 -08:00
2014-07-16 15:15:53 -07:00
2014-01-03 14:49:37 -08:00
2015-08-26 14:48:55 -07:00
2015-03-18 15:46:48 -07:00
2015-06-06 11:25:41 -07:00
2014-11-06 11:09:03 -08:00
2014-09-23 18:21:52 -07:00
2015-11-11 16:22:38 -08:00
2015-11-12 16:51:31 -08:00
2014-08-19 11:18:20 -07:00
2014-10-01 16:01:28 -07:00
2015-10-02 18:25:19 -07:00
2015-09-22 16:40:14 -07:00
2015-10-26 19:29:12 -07:00
2015-02-18 22:02:56 -08:00