<?php
namespace Faker\Provider\tr_TR;
class DateTime extends \Faker\Provider\DateTime
{
public static function amPm($max = 'now')
{
return static::dateTime($max)->format('a') === 'am' ? 'öö' : 'ös';
}
public static function dayOfWeek($max = 'now')
{
$map = [
'Sunday' => 'Pazar',
'Monday' => 'Pazartesi',
'Tuesday' => 'Salı',
'Wednesday' => 'Çarşamba',
'Thursday' => 'Perşembe',
'Friday' => 'Cuma',
'Saturday' => 'Cumartesi',
];
$week = static::dateTime($max)->format('l');
return $map[$week] ?? $week;
}
public static function monthName($max = 'now')
{
$map = [
'January' => 'Ocak',
'February' => 'Şubat',
'March' => 'Mart',
'April' => 'Nisan',
'May' => 'Mayıs',
'June' => 'Haziran',
'July' => 'Temmuz',
'August' => 'Ağustos',
'September' => 'Eylül',
'October' => 'Ekim',
'November' => 'Kasım',
'December' => 'Aralık',
];
$month = static::dateTime($max)->format('F');
return $map[$month] ?? $month;
}
}
Contact Section
We’d love to hear from you! Whether you have questions, feedback, or need support, our team is here to help. Reach out to us via email, phone, or visit our office. We’re committed to providing you with exceptional service and ensuring your experience with NFC Pay is seamless and satisfying. Let’s connect!