Date Formats
DayBackForFileMaker.DateFormats History
Hide minor edits - Show changes to output
Changed line 7 from:
%center% https://www.seedcode.com/rootimages/stikipad/dayback/autosettings.png
to:
%center% https://archive.seedcode.com/rootimages/stikipad/dayback/autosettings.png
Changed line 1 from:
!! Can I change the date formats, such as using European date formats?
to:
!! Can I change the date formats, such as using European date formats or show weeks?
Changed line 1 from:
!! Does the calendar support European date formats?
to:
!! Can I change the date formats, such as using European date formats?
Added lines 14-19:
The date formats the calendar displays in the calendar navigation headers and the mini-calendars are based on your computers language setting. If you are in an English speaking country outside of the US make sure your language is set to that specific region. For example you would set your computer language to English UK if you were in the UK, or English Canada if you are in Canada. This will ensure that you get the appropriate date formats for your region.
[[https://support.apple.com/kb/PH14211 | How to set your language on MacOSX]]
[[https://support.microsoft.com/en-us/help/17424/windows-change-keyboard-layout | How to set your language on Windows]]
Added lines 14-15:
If you want to change the format shown in DayBack's popover you can get at that by editing the "Webviewer Settings" script: in particular, the a look at the "Date Strings" comment in that script. Be sure to back this script up before you work on it, and don't forget to run the "Upon Opening" script to see any changes take effect.
Changed lines 15-16 from:
to:
!! Trouble reading and writing events
If DayBack is having trouble figuring out which date format is used by your FileMaker file you can try telling it manually: specify a date format directly by editing the $$sc_DateFormat variable set in the script "Load Calendar Settings...". That offers the following date formats, with "auto" as the default:
If DayBack is having trouble figuring out which date format is used by your FileMaker file you can try telling it manually: specify a date format directly by editing the $$sc_DateFormat variable set in the script "Load Calendar Settings...". That offers the following date formats, with "auto" as the default:
Added lines 23-24:
If that doesn't work you can clone the file...
Changed line 15 from:
You can also specify a date format directly by editing the first variable set in the script "Webviewer Settings". That offers the following date formats, with "auto" as the default:
to:
You can also specify a date format directly by editing the $$sc_DateFormat variable set in the script "Load Calendar Settings...". That offers the following date formats, with "auto" as the default:
Changed lines 13-20 from:
Turning this setting off is also when you can specify which language you'd like the calendar displayed in. More info on changing languages--even changing languages per user--in [[translation]].
to:
Turning this "auto" setting off is also when you can specify which language you'd like the calendar displayed in. More info on changing languages--even changing languages per user--in [[translation]].
You can also specify a date format directly by editing the first variable set in the script "Webviewer Settings". That offers the following date formats, with "auto" as the default:
-> "auto" \\
"MM/DD/YYYY" \\
"DD/MM/YYYY" \\
"YYYY-MM-DD"
You can also specify a date format directly by editing the first variable set in the script "Webviewer Settings". That offers the following date formats, with "auto" as the default:
-> "auto" \\
"MM/DD/YYYY" \\
"DD/MM/YYYY" \\
"YYYY-MM-DD"
Changed line 7 from:
%center% https://www.seedcode.com/rootimages/stikipad/dayback/autosetings.png
to:
%center% https://www.seedcode.com/rootimages/stikipad/dayback/autosettings.png
Changed lines 3-9 from:
The only exception to this are the tool tips and the big white-on-blue display in the calendar header
You'll need to change the formatting of
For the tool tips you'll either need to change the calc used to format those dates the way you'd like... or clone the file
to:
Absolutely. And in many cases you won't have to do anything in order to get this to work.
On the calendar's "Home" and "Under the Hood" layouts you'll see a switch to "Use Auto Setting".
%center% https://www.seedcode.com/rootimages/stikipad/dayback/autosetings.png
When that is set to "On", as it is by default, the calendar will attempt to match the date and time formats of your regional settings. Even turning on Week Numbers if that is common in your region.
If DayBack guesses wrong, however, you can turn this setting off, and decide if you'd like week numbers, or 12-hour time formats manually.
Turning this setting off is also when you can specify which language you'd like the calendar displayed in. More info on changing languages--even changing languages per user--in [[translation]].
On the calendar's "Home" and "Under the Hood" layouts you'll see a switch to "Use Auto Setting".
%center% https://www.seedcode.com/rootimages/stikipad/dayback/autosetings.png
When that is set to "On", as it is by default, the calendar will attempt to match the date and time formats of your regional settings. Even turning on Week Numbers if that is common in your region.
If DayBack guesses wrong, however, you can turn this setting off, and decide if you'd like week numbers, or 12-hour time formats manually.
Turning this setting off is also when you can specify which language you'd like the calendar displayed in. More info on changing languages--even changing languages per user--in [[translation]].
Changed lines 5-6 from:
The only exception to this is the big white-on-blue display in the calendar header. That date is a calc field and we've hard coded the date formats into the calc so we could display things like "Week of..."
to:
The only exception to this are the tool tips and the big white-on-blue display in the calendar header. That date is a calc field and we've hard coded the date formats into the calc so we could display things like "Week of..."
Added lines 8-9:
For the tool tips you'll either need to change the calc used to format those dates the way you'd like... or clone the file.
Changed lines 9-11 from:
to:
!! Cloning the file
Note that you can always make a clone of the file in order to reset the file's location information. (File / Save a Copy As... / Clone) As soon as you open that clone the file will think it was created with your date formats as its default. (Creating a clone erases all the event records in the calendar, but the calendar's Upon Opening script recreates the other records the calendar needs to operate.)
Note that you can always make a clone of the file in order to reset the file's location information. (File / Save a Copy As... / Clone) As soon as you open that clone the file will think it was created with your date formats as its default. (Creating a clone erases all the event records in the calendar, but the calendar's Upon Opening script recreates the other records the calendar needs to operate.)
Changed lines 5-8 from:
The only exception to this is the big white-on-blue display in the calendar header. That date is a calc and we've hard coded the date formats into the calc so we could display things like "Week of..."
You'll need to change the formatting of that displayIN the calc by editing the field definition for CalendarInterface::DateDisplayCalc
You'll need to change the formatting of that display
to:
The only exception to this is the big white-on-blue display in the calendar header. That date is a calc field and we've hard coded the date formats into the calc so we could display things like "Week of..."
You'll need to change the formatting of that display ''in'' the calc by editing the field definition for CalendarInterface::DateDisplayCalc
You'll need to change the formatting of that display ''in'' the calc by editing the field definition for CalendarInterface::DateDisplayCalc
Added lines 1-9:
!! Does the calendar support European date formats?
Yes. Most of the dates in the calendar will reflect the date format set up on your computer without you having to do anything.
The only exception to this is the big white-on-blue display in the calendar header. That date is a calc and we've hard coded the date formats into the calc so we could display things like "Week of..."
You'll need to change the formatting of that display IN the calc by editing the field definition for CalendarInterface::DateDisplayCalc
Note that you can always make a clone of the file in order to reset the file's location information. As soon as you open that clone the file will think it was created with your date formats as its default. (Creating a clone erases all the event records in the calendar, but the calendar's Upon Opening script recreates the other records the calendar needs to operate.)
Yes. Most of the dates in the calendar will reflect the date format set up on your computer without you having to do anything.
The only exception to this is the big white-on-blue display in the calendar header. That date is a calc and we've hard coded the date formats into the calc so we could display things like "Week of..."
You'll need to change the formatting of that display IN the calc by editing the field definition for CalendarInterface::DateDisplayCalc
Note that you can always make a clone of the file in order to reset the file's location information. As soon as you open that clone the file will think it was created with your date formats as its default. (Creating a clone erases all the event records in the calendar, but the calendar's Upon Opening script recreates the other records the calendar needs to operate.)