Created
July 2, 2016 16:46
-
-
Save aliemre/a40437afd83262e198915ab5e7d9441d to your computer and use it in GitHub Desktop.
Symfony Form Choise Type Timezone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$builder | |
->add('cargoLRDTimezone', ChoiceType::class, [ | |
'label' => "Cargo LRD", | |
'placeholder' => "Seçiniz..", | |
'choices' => [ | |
'CST' => "CST (Central Standard Time)", | |
'CET' => "CET (Central European Time)", | |
'CEST' => "CEST (Central European Summer Time)", | |
'CDT' => "CDT (Central Daylight Time)", | |
'EST' => "EST (Eastern Standard Time)", | |
'EET' => "EET (Eastern European Time)", | |
'EEST' => "EEST (Eastern European Summer Time)", | |
'EDT' => "EDT (Eastern Daylight Time)", | |
'GMT' => "GMT (Greenwich Mean Time)", | |
'PST' => "PST (Pacific Standard Time)", | |
'PDT' => "PDT (Pacific Daylight Time)", | |
'IST' => "IST (India Standard Time)", | |
'BST' => "BST (British Summer Time)", | |
'SAST' => "SAST (South Africa Standard Time)", | |
'WAT' => "WAT (West Africa Time)", | |
'WAST' => "WAST (West Africa Summer Time)", | |
'WET' => "WET (Western European Time)", | |
'WEST' => "EAST (Western European Summer Time)", | |
'CAT' => "CAT (Central Africa Time)", | |
'EAT' => "EAT (Eastern Africa Time)" | |
], | |
'attr' => [ | |
'class' => "form-control selectpicker" | |
] | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment