This file contains 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
#!/bin/bash | |
echo "" # Start with a blank line | |
# Function to calculate time difference in hours and minutes | |
calculate_duration() { | |
local diff_seconds=$1 | |
local hours=$((diff_seconds / 3600)) | |
local minutes=$(( (diff_seconds % 3600) / 60 )) | |
printf "%02d:%02d" $hours $minutes |
This file contains 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
[ | |
{ name: 'Россия', name_en: 'Russia', value: '+7', sorted: true }, | |
{ name: 'Беларусь', name_en: 'Belarus', value: '+375', sorted: true }, | |
{ name: 'Казахстан', name_en: 'Kazakhstan', value: '+7', sorted: true }, | |
{ name: 'Украина', name_en: 'Ukraine', value: '+380', sorted: true }, | |
{ name: 'Узбекистан', name_en: 'Uzbekistan', value: '+998', sorted: true }, | |
// rest | |
{ name: 'Австралия', name_en: 'Australia', value: '+61' }, | |
{ name: 'Австрия', name_en: 'Austria', value: '+43' }, | |
{ name: 'Азербайджан', name_en: 'Azerbaijan', value: '+994' }, |