Mock language (Locales)
Default Locale Behavior
Customizing Faker Locale
Specifying Locale in Expressions
locale
parameter in the mock expression:{{$person.fullName(locale='ja')}}
η°δΈ ε€ͺι
Setting Time Zone for Mock Data
Set a default time zone for all dynamic date values in Project Settings > Feature Settings > Mock Settings. This ensures that all generated dates/times use the specified time zone unless overridden.
Override the time zone for individual date or time fields by specifying the
timeZone
parameter in the dynamic value expression.{{$date.recent(days=1, timeZone='Asia/Tokyo')}}
2024-06-13T16:48:12+09:00
{{$date.between(from='2024-01-01', to='2024-12-31', timeZone='Europe/London', format='yyyy-MM-dd HH:mm:ss')}}
2024-03-15 04:26:52