Comments (5)
Dates are formatted using the standard Intl.*
function available in JS (BCR-GUI is an Ionic WebApp).
The culture to be used for days/months names is the one set in Android "Language" settings.
PS: I'm working on an improvement in datetime formatting management.
I could also include an option to "force" a custom culture instead of the one set in Android...
from bcr-gui.
dont get me wrong I love this feature and adding an option to set it per app would be icing on cake.
I was asking as a noob how this is done, and you say dates are used as Intl.* which to my untrained ears seems to mean that they are saved as universal (like unix time) and then interpreted according to language?
but the app bcr itself uses json (basically JS text) and you use that right?
from bcr-gui.
Dates are timestamps, the number of seconds (or milliseconds, depending on required precision) elapsed from 1 Jan 1970, aka Unix Epoch time.
This is pretty common in the programming world to avoid issues with timezones, leap years, time interval calculations and so on...
from bcr-gui.
I understand that.
it is just as an Iranian I have never saw an app uses jalali calendar automatically (or even with user setting) in android and I thought that maybe (as I heard about in android 14 adding more locale stuff) maybe I have missed something in android itself, but it seems that as you say it is not android and it it is your app that does the converting.
sigh.
it may have been unintentional right?
you used webapp and the webapp framework ( is that the right word?) just convert date to set language?
whatever it is , thank you I quite like it.
from bcr-gui.
Intl.* functions for a WebApp are provided by the OS WebView component; on Android it is some kind related to Chrome App.
whatever it is , thank you I quite like it.
👍
from bcr-gui.
Related Issues (20)
- Versioning issue HOT 6
- Recordings encoding issue HOT 1
- Does not look in subdirectories HOT 5
- Support custom filename format HOT 4
- Bug: always forcing 12h time format HOT 4
- "System Preference" theme doesn't work HOT 3
- [Feature Request] refresh recording list once during Activity.onResume() HOT 7
- Support standard date and time formats HOT 9
- starting bcr-gui kills other sound HOT 1
- Entries not deleted when JSON file is missing HOT 2
- Playback stops when screen gets dark HOT 4
- [enhancement]: forward+rewind buttons HOT 2
- Forward/reverse skip and scrolling does not work as intended in v0.0.16 HOT 1
- Audio playback takes a long time to start HOT 5
- Delete all, except HOT 1
- Add support for GrapheneOS call recorder (was: File Name Parsing issue) HOT 12
- White screen HOT 4
- Color scheme problem HOT 3
- Using too many voice recordings HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bcr-gui.