Commit 634bee41 authored by Daniel Bissani Furlin's avatar Daniel Bissani Furlin
Browse files

Issue SCRUM#139: force zone America/Sao_Paulo when pt_BR

parent 66c08fdd
Pipeline #12580 passed with stages
in 23 minutes and 21 seconds
......@@ -62,7 +62,6 @@ testi386:
deploy_for_testingi386:
stage: deploy
image: i386/ubuntu:16.04
only:
- master
tags:
......@@ -74,7 +73,6 @@ deploy_for_testingi386:
deploy_for_stablei386:
stage: deploy
image: i386/ubuntu:16.04
when: manual
only:
- master
......
ubiquity (2.21.63.7) testing; urgency=medium
* Force timezone to America/Sao_Paulo when user chooses a pt_BR installation.
-- Daniel Bissani Furlin <dbf15@c3sl.ufpr.br> Mon, 25 Sep 2017 13:38:41 -0300
ubiquity (2.21.63.6) testing; urgency=medium
 
* Remove unused packages.
......
......@@ -471,6 +471,8 @@ class Page(plugin.Plugin):
choices_c = self.choices_untranslated(question)
if choices_c:
zone = choices_c[0]
if 'America/Rio_Branco' in zone:
zone = 'America/Sao_Paulo'
self.ui.set_timezone(zone)
if self.automatic_page:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment