Skip to content

Instantly share code, notes, and snippets.

@nuryagdym
Last active June 12, 2021 06:37
Show Gist options
  • Save nuryagdym/b6231adab82ca15295127aae9b0ff202 to your computer and use it in GitHub Desktop.
Save nuryagdym/b6231adab82ca15295127aae9b0ff202 to your computer and use it in GitHub Desktop.
Javascript Türkçe zaman birimleri
const translations = {
monthsFull: ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'],
monthsShort: ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara'],
//first day is Monday
weekdaysFull: ['Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi', 'Pazar'],
weekdaysShort: ['Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt', 'Paz'],
today: 'Bugün',
tomorrow: 'Yarın',
yesterday: 'Dün',
hour: 'saat',
minute: 'dakika',
second: 'saniye'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment